Commit 8520aa585f

Andrew Kelley <andrew@ziglang.org>
2023-10-21 06:56:37
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.
1 parent 5ec59f2
Changed files (1)
build.zig
@@ -578,10 +578,7 @@ fn addCompilerStep(
         .root_source_file = .{ .path = "src/main.zig" },
         .target = target,
         .optimize = optimize,
-        .max_rss = if (target.getObjectFormat() == .macho)
-            6_350_000_000
-        else
-            5_200_000_000,
+        .max_rss = 6_350_000_000,
     });
     exe.stack_size = stack_size;
     exe.addAnonymousModule("aro", .{