authorgravatar for mlugg@mlugg.co.ukMatthew Lugg <mlugg@mlugg.co.uk> 2026-03-06 12:47:11+00:00
committergravatar for mlugg@mlugg.co.ukMatthew Lugg <mlugg@mlugg.co.uk> 2026-03-10 10:38:50+00:00
log1293f080fdfc74966b541b44f0a907561df3d617
tree2d2a09df6d882aad975aebfd33a4f0d9f5da4a32
parent34d780f4bbefa8344cae5da49fe84bed83d8274f
signaturelock-open Commit is signed but in an unrecognized format.

build.zig: bump max_rss values


1 files changed, 4 insertions(+), 4 deletions(-)

build.zig+4-4
...@@ -568,7 +568,7 @@ pub fn build(b: *std.Build) !void {...@@ -568,7 +568,7 @@ pub fn build(b: *std.Build) !void {
568 .skip_linux = skip_linux,568 .skip_linux = skip_linux,
569 .skip_llvm = skip_llvm,569 .skip_llvm = skip_llvm,
570 .skip_libc = skip_libc,570 .skip_libc = skip_libc,
571 .max_rss = 8_500_000_000,571 .max_rss = 9_300_000_000,
572 }));572 }));
573573
574 const unit_tests_step = b.step("test-unit", "Run the compiler source unit tests");574 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 {...@@ -584,7 +584,7 @@ pub fn build(b: *std.Build) !void {
584 .use_llvm = use_llvm,584 .use_llvm = use_llvm,
585 .use_lld = use_llvm,585 .use_lld = use_llvm,
586 .zig_lib_dir = b.path("lib"),586 .zig_lib_dir = b.path("lib"),
587 .max_rss = 2_500_000_000,587 .max_rss = 2_700_000_000,
588 });588 });
589 if (link_libc) {589 if (link_libc) {
590 unit_tests.root_module.link_libc = true;590 unit_tests.root_module.link_libc = true;
...@@ -611,7 +611,7 @@ pub fn build(b: *std.Build) !void {...@@ -611,7 +611,7 @@ pub fn build(b: *std.Build) !void {
611 .skip_linux = skip_linux,611 .skip_linux = skip_linux,
612 .skip_llvm = skip_llvm,612 .skip_llvm = skip_llvm,
613 .skip_release = skip_release,613 .skip_release = skip_release,
614 .max_rss = 3_000_000_000,614 .max_rss = 3_300_000_000,
615 }));615 }));
616 test_step.dependOn(tests.addLinkTests(b, enable_macos_sdk, enable_ios_sdk, enable_symlinks_windows));616 test_step.dependOn(tests.addLinkTests(b, enable_macos_sdk, enable_ios_sdk, enable_symlinks_windows));
617 test_step.dependOn(tests.addStackTraceTests(b, test_filters, skip_non_native));617 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...@@ -767,7 +767,7 @@ fn addCompilerMod(b: *std.Build, options: AddCompilerModOptions) *std.Build.Modu
767fn addCompilerStep(b: *std.Build, options: AddCompilerModOptions) *std.Build.Step.Compile {767fn addCompilerStep(b: *std.Build, options: AddCompilerModOptions) *std.Build.Step.Compile {
768 const exe = b.addExecutable(.{768 const exe = b.addExecutable(.{
769 .name = "zig",769 .name = "zig",
770 .max_rss = 7_900_000_000,770 .max_rss = 8_700_000_000,
771 .root_module = addCompilerMod(b, options),771 .root_module = addCompilerMod(b, options),
772 });772 });
773 exe.stack_size = stack_size;773 exe.stack_size = stack_size;