mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
build.zig: adjust max_rss again
Looks like the higher memory requirements come from building with a clean cache, and affect all operating systems, not just macOS.
This commit is contained in:
parent
5ec59f2a01
commit
8520aa585f
1 changed files with 1 additions and 4 deletions
|
|
@ -578,10 +578,7 @@ fn addCompilerStep(
|
||||||
.root_source_file = .{ .path = "src/main.zig" },
|
.root_source_file = .{ .path = "src/main.zig" },
|
||||||
.target = target,
|
.target = target,
|
||||||
.optimize = optimize,
|
.optimize = optimize,
|
||||||
.max_rss = if (target.getObjectFormat() == .macho)
|
.max_rss = 6_350_000_000,
|
||||||
6_350_000_000
|
|
||||||
else
|
|
||||||
5_200_000_000,
|
|
||||||
});
|
});
|
||||||
exe.stack_size = stack_size;
|
exe.stack_size = stack_size;
|
||||||
exe.addAnonymousModule("aro", .{
|
exe.addAnonymousModule("aro", .{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue