compiler: use std.heap.smp_allocator

In main, now this allocator is chosen by default when compiling without
libc in ReleaseFast or ReleaseSmall, and not targeting WebAssembly.
This commit is contained in:
Andrew Kelley
2025-02-06 17:41:50 -08:00
parent 84bf7a6701
commit 7360be19a4
4 changed files with 23 additions and 22 deletions

View File

@@ -139,7 +139,7 @@ int main(int argc, char **argv) {
"pub const enable_tracy = false;\n"
"pub const value_tracing = false;\n"
"pub const skip_non_native = false;\n"
"pub const force_gpa = false;\n"
"pub const debug_gpa = false;\n"
"pub const dev = .core;\n"
"pub const value_interpret_mode = .direct;\n"
, zig_version);