| ... | @@ -829,26 +829,7 @@ fn addCompilerMod(b: *std.Build, options: AddCompilerModOptions) *std.Build.Modu | ... | @@ -829,26 +829,7 @@ fn addCompilerMod(b: *std.Build, options: AddCompilerModOptions) *std.Build.Modu |
| 829 | fn addCompilerStep(b: *std.Build, options: AddCompilerModOptions) *std.Build.Step.Compile { | 829 | fn addCompilerStep(b: *std.Build, options: AddCompilerModOptions) *std.Build.Step.Compile { |
| 830 | const exe = b.addExecutable(.{ | 830 | const exe = b.addExecutable(.{ |
| 831 | .name = "zig", | 831 | .name = "zig", |
| 832 | .max_rss = switch (b.graph.host.result.os.tag) { | 832 | .max_rss = 7_000_000_000, |
| 833 | .linux => switch (b.graph.host.result.cpu.arch) { | | |
| 834 | .aarch64 => 6_240_805_683, | | |
| 835 | .loongarch64 => 5_024_158_515, | | |
| 836 | .powerpc64le => 5_224_914_534, | | |
| 837 | .riscv64 => 6_996_309_196, | | |
| 838 | .s390x => 4_997_174_476, | | |
| 839 | .x86_64 => 6_664_025_702, | | |
| 840 | else => 7_000_000_000, | | |
| 841 | }, | | |
| 842 | .macos => switch (b.graph.host.result.cpu.arch) { | | |
| 843 | .aarch64 => 6_639_145_779, | | |
| 844 | else => 6_700_000_000, | | |
| 845 | }, | | |
| 846 | .windows => switch (b.graph.host.result.cpu.arch) { | | |
| 847 | .x86_64 => 5_770_394_009, | | |
| 848 | else => 5_800_000_000, | | |
| 849 | }, | | |
| 850 | else => 7_000_000_000, | | |
| 851 | }, | | |
| 852 | .root_module = addCompilerMod(b, options), | 833 | .root_module = addCompilerMod(b, options), |
| 853 | }); | 834 | }); |
| 854 | exe.stack_size = stack_size; | 835 | exe.stack_size = stack_size; |