diff options
Diffstat (limited to 'src/cli.zig')
-rw-r--r-- | src/cli.zig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cli.zig b/src/cli.zig index 1debd9254..a35b583b1 100644 --- a/src/cli.zig +++ b/src/cli.zig @@ -1030,6 +1030,7 @@ pub const Command = struct { } }; + extern fn bun__bmalloc__init() void; pub fn which() Tag { var args_iter = ArgsIterator{ .buf = std.os.argv }; // first one is the executable name @@ -1153,6 +1154,8 @@ pub const Command = struct { // _ = BunxCommand; } + bun__bmalloc__init(); + if (try bun.StandaloneModuleGraph.fromExecutable(bun.default_allocator)) |graph| { var ctx = Command.Context{ .args = std.mem.zeroes(Api.TransformOptions), |