mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
build.zig: annotate max_rss for building the compiler
I observed some out-of-memory conditions happening on one of the CI servers. This should make it avoid scheduling compiler builds at the same time as other memory-intensive operations.
This commit is contained in:
parent
89aad1b89c
commit
1c48588fc8
1 changed files with 1 additions and 0 deletions
|
|
@ -578,6 +578,7 @@ fn addCompilerStep(
|
|||
.root_source_file = .{ .path = "src/main.zig" },
|
||||
.target = target,
|
||||
.optimize = optimize,
|
||||
.max_rss = 5_200_000_000,
|
||||
});
|
||||
exe.stack_size = stack_size;
|
||||
exe.addAnonymousModule("aro", .{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue