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:
Andrew Kelley 2023-10-20 21:56:37 -07:00
parent 5ec59f2a01
commit 8520aa585f

View File

@ -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", .{