build.zig: bump max_rss values

This commit is contained in:
Matthew Lugg 2026-03-06 12:47:11 +00:00
parent cfebb91e50
commit d6cdba6e83
No known key found for this signature in database
GPG key ID: 3F5B7DCCBF4AF02E

View file

@ -568,7 +568,7 @@ pub fn build(b: *std.Build) !void {
.skip_linux = skip_linux,
.skip_llvm = skip_llvm,
.skip_libc = skip_libc,
.max_rss = 8_500_000_000,
.max_rss = 9_300_000_000,
}));
const unit_tests_step = b.step("test-unit", "Run the compiler source unit tests");
@ -584,7 +584,7 @@ pub fn build(b: *std.Build) !void {
.use_llvm = use_llvm,
.use_lld = use_llvm,
.zig_lib_dir = b.path("lib"),
.max_rss = 2_500_000_000,
.max_rss = 2_700_000_000,
});
if (link_libc) {
unit_tests.root_module.link_libc = true;
@ -611,7 +611,7 @@ pub fn build(b: *std.Build) !void {
.skip_linux = skip_linux,
.skip_llvm = skip_llvm,
.skip_release = skip_release,
.max_rss = 3_000_000_000,
.max_rss = 3_300_000_000,
}));
test_step.dependOn(tests.addLinkTests(b, enable_macos_sdk, enable_ios_sdk, enable_symlinks_windows));
test_step.dependOn(tests.addStackTraceTests(b, test_filters, skip_non_native));
@ -767,7 +767,7 @@ fn addCompilerMod(b: *std.Build, options: AddCompilerModOptions) *std.Build.Modu
fn addCompilerStep(b: *std.Build, options: AddCompilerModOptions) *std.Build.Step.Compile {
const exe = b.addExecutable(.{
.name = "zig",
.max_rss = 7_900_000_000,
.max_rss = 8_700_000_000,
.root_module = addCompilerMod(b, options),
});
exe.stack_size = stack_size;