authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-06-02 20:55:01+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-06-02 20:55:01+02:00
log87f8f47ba508b684d03c13b850cac3fb72efac26
tree1f8005d002d455a735c5b4a9849a010d06068610
parente3b8aece4bad8bc0316b24a7570ceb129c450852
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

std.Build: Demote errors for exceeding max_rss to warnings.

We have no control over memory usage on arbitrary systems in the wild. But we would still like to get the warnings so we can adjust the values based on observations in the official ZSF CI. Closes #23254. Closes #23638.

2 files changed, 0 insertions(+), 2 deletions(-)

lib/compiler/build_runner.zig-1
......@@ -599,7 +599,6 @@ fn prepare(
599599 if (run.max_rss_is_default) {
600600 std.debug.print("note: use --maxrss to override the default", .{});
601601 }
602 return uncleanExit();
603602 }
604603 }
605604}
lib/std/Build/Step.zig-1
......@@ -247,7 +247,6 @@ pub fn make(s: *Step, options: MakeOptions) error{ MakeFailed, MakeSkipped }!voi
247247 s.result_peak_rss, s.max_rss,
248248 }) catch @panic("OOM");
249249 s.result_error_msgs.append(arena, msg) catch @panic("OOM");
250 return error.MakeFailed;
251250 }
252251}
253252