mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 14:23:09 +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
@ -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…
x
Reference in New Issue
Block a user