mimalloc: avoid mimalloc override

By default mimalloc is built to override default allocation functions.
So it is used also by v8.

This change avoid the mimalloc override to keep the native stdlib
functions.
This commit is contained in:
Pierre Tachoire
2024-04-10 09:18:42 +02:00
parent 3834ebcfa4
commit 53a5326248
2 changed files with 14 additions and 12 deletions

View File

@@ -155,7 +155,7 @@ fn common(
// link mimalloc
step.addObjectFile(.{ .path = "vendor/mimalloc/out/libmimalloc.a" });
step.addIncludePath(.{ .path = "vendor/mimalloc/include" });
step.addIncludePath(.{ .path = "vendor/mimalloc/out/include" });
}
fn linkNetSurf(step: *std.build.LibExeObjStep) void {