| ... | ... | @@ -772,7 +772,10 @@ fn addCompilerMod(b: *std.Build, options: AddCompilerModOptions) *std.Build.Modu |
| 772 | 772 | fn addCompilerStep(b: *std.Build, options: AddCompilerModOptions) *std.Build.Step.Compile { |
| 773 | 773 | const exe = b.addExecutable(.{ |
| 774 | 774 | .name = "zig", |
| 775 | | .max_rss = 8_700_000_000, |
| 775 | // This number should never be raised. If the value is exceeded, then |
| 776 | // it is considered a bug in the Zig project that building the |
| 777 | // compiler takes more than 8G of memory. |
| 778 | .max_rss = 8_000_000_000, |
| 776 | 779 | .root_module = addCompilerMod(b, options), |
| 777 | 780 | }); |
| 778 | 781 | exe.stack_size = stack_size; |