commit 276ca77bf04f574a730923aa77757ac0d2a464df (tree)
parent ec74d650fe5ba6b5fddd0277b06b43a94383a0e0
Author: Andrew Kelley <andrew@ziglang.org>
Date: Mon, 19 Jan 2026 15:16:51 -0800
build: adjust max_rss for behavior tests
observed error: memory usage peaked at 0.70GB (699138048 bytes),
exceeding the declared upper bound of 0.66GB (659809075 bytes)
Diffstat:
1 file changed, 1 insertion(+), 21 deletions(-)
diff --git a/build.zig b/build.zig
@@ -472,27 +472,7 @@ pub fn build(b: *std.Build) !void {
.skip_linux = skip_linux,
.skip_llvm = skip_llvm,
.skip_libc = skip_libc,
- .max_rss = switch (b.graph.host.result.os.tag) {
- .freebsd => 2_000_000_000,
- .linux => switch (b.graph.host.result.cpu.arch) {
- .aarch64 => 659_809_075,
- .loongarch64 => 598_902_374,
- .powerpc64le => 627_431_833,
- .riscv64 => 827_043_430,
- .s390x => 580_596_121,
- .x86_64 => 3_290_894_745,
- else => 3_300_000_000,
- },
- .macos => switch (b.graph.host.result.cpu.arch) {
- .aarch64 => 767_736_217,
- else => 800_000_000,
- },
- .windows => switch (b.graph.host.result.cpu.arch) {
- .x86_64 => 603_070_054,
- else => 700_000_000,
- },
- else => 3_300_000_000,
- },
+ .max_rss = 3_300_000_000,
}));
test_modules_step.dependOn(tests.addModuleTests(b, .{