deps: add missing mimalloc dep to jsc bindings header generator

This commit is contained in:
Kenta Iwasaki
2021-11-24 17:26:02 +00:00
parent 283a01493c
commit f7dbf5ac38
2 changed files with 3 additions and 2 deletions

View File

@@ -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)

View File

@@ -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");
{