mirror of
https://github.com/oven-sh/bun
synced 2026-02-14 21:01:52 +00:00
deps: add missing mimalloc dep to jsc bindings header generator
This commit is contained in:
2
Makefile
2
Makefile
@@ -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");
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user