| ... | @@ -651,30 +651,7 @@ pub fn build(b: *std.Build) !void { | ... | @@ -651,30 +651,7 @@ pub fn build(b: *std.Build) !void { |
| 651 | .use_llvm = use_llvm, | 651 | .use_llvm = use_llvm, |
| 652 | .use_lld = use_llvm, | 652 | .use_lld = use_llvm, |
| 653 | .zig_lib_dir = b.path("lib"), | 653 | .zig_lib_dir = b.path("lib"), |
| 654 | .max_rss = switch (b.graph.host.result.os.tag) { | 654 | .max_rss = 2_500_000_000, |
| 655 | .freebsd => switch (b.graph.host.result.cpu.arch) { | | |
| 656 | .x86_64 => 2_188_099_584, | | |
| 657 | else => 2_200_000_000, | | |
| 658 | }, | | |
| 659 | .linux => switch (b.graph.host.result.cpu.arch) { | | |
| 660 | .aarch64 => 1_991_934_771, | | |
| 661 | .loongarch64 => 1_844_538_572, | | |
| 662 | .powerpc64le => 1_793_035_059, | | |
| 663 | .riscv64 => 2_459_003_289, | | |
| 664 | .s390x => 1_781_248_409, | | |
| 665 | .x86_64 => 977_192_550, | | |
| 666 | else => 2_500_000_000, | | |
| 667 | }, | | |
| 668 | .macos => switch (b.graph.host.result.cpu.arch) { | | |
| 669 | .aarch64 => 2_062_393_344, | | |
| 670 | else => 2_100_000_000, | | |
| 671 | }, | | |
| 672 | .windows => switch (b.graph.host.result.cpu.arch) { | | |
| 673 | .x86_64 => 1_953_087_488, | | |
| 674 | else => 2_000_000_000, | | |
| 675 | }, | | |
| 676 | else => 2_500_000_000, | | |
| 677 | }, | | |
| 678 | }); | 655 | }); |
| 679 | if (link_libc) { | 656 | if (link_libc) { |
| 680 | unit_tests.root_module.link_libc = true; | 657 | unit_tests.root_module.link_libc = true; |