diff options
author | 2021-11-24 17:26:02 +0000 | |
---|---|---|
committer | 2021-11-24 17:26:02 +0000 | |
commit | f7dbf5ac3892a27bcbb99072b57fcd46e57a51b2 (patch) | |
tree | 0bf9077695873cb0dfc841ba3a06a0d6c97bc8bd | |
parent | 283a01493c6c4b5ba155de15fde52e6637bdbc01 (diff) | |
download | bun-f7dbf5ac3892a27bcbb99072b57fcd46e57a51b2.tar.gz bun-f7dbf5ac3892a27bcbb99072b57fcd46e57a51b2.tar.zst bun-f7dbf5ac3892a27bcbb99072b57fcd46e57a51b2.zip |
deps: add missing mimalloc dep to jsc bindings header generator
Diffstat (limited to '')
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | build.zig | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -40,7 +40,7 @@ CC = $(shell which clang-12 2>/dev/null || which clang) CXX = $(shell which clang++-12 2>/dev/null || which clang++) # macOS sed is different -SED = $(shell which gsed || which sed) +SED = $(shell which gsed 2>/dev/null || which sed) DEPS_DIR = $(shell pwd)/src/deps CPUS ?= $(shell nproc) @@ -214,7 +214,7 @@ pub fn build(b: *std.build.Builder) !void { // if (target.getOsTag() == .macos) "-DUSE_CF_RETAIN_PTR=1" else "", // }; const headers_step = b.step("headers-obj", "JSC headers Step #1"); - var headers_obj: *std.build.LibExeObjStep = b.addObject("headers", "src/javascript/jsc/bindings/bindings-generator.zig"); + const headers_obj: *std.build.LibExeObjStep = b.addObject("headers", "src/javascript/jsc/bindings/bindings-generator.zig"); headers_obj.setMainPkgPath(javascript.main_pkg_path.?); headers_step.dependOn(&headers_obj.step); @@ -290,6 +290,7 @@ pub fn build(b: *std.build.Builder) !void { obj.setBuildMode(mode); addPicoHTTP(obj); + addMimalloc(obj); obj.addPackagePath("clap", "src/deps/zig-clap/clap.zig"); { |