mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
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.
This commit is contained in:
parent
e3b8aece4b
commit
87f8f47ba5
2 changed files with 0 additions and 2 deletions
|
|
@ -599,7 +599,6 @@ fn prepare(
|
||||||
if (run.max_rss_is_default) {
|
if (run.max_rss_is_default) {
|
||||||
std.debug.print("note: use --maxrss to override the default", .{});
|
std.debug.print("note: use --maxrss to override the default", .{});
|
||||||
}
|
}
|
||||||
return uncleanExit();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -247,7 +247,6 @@ pub fn make(s: *Step, options: MakeOptions) error{ MakeFailed, MakeSkipped }!voi
|
||||||
s.result_peak_rss, s.max_rss,
|
s.result_peak_rss, s.max_rss,
|
||||||
}) catch @panic("OOM");
|
}) catch @panic("OOM");
|
||||||
s.result_error_msgs.append(arena, msg) catch @panic("OOM");
|
s.result_error_msgs.append(arena, msg) catch @panic("OOM");
|
||||||
return error.MakeFailed;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue