authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2026-01-03 21:18:33-08:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2026-01-04 00:27:09-08:00
log420a9aed4c27af2501b6e85973b7762a7e38b9e4
tree579a03191e4c7ba22191b9dfba285bbdef8db0de
parent9eb3b54eb5442b13d268a7965998c6ffc5004d6a

build: bump freebsd max_rss

solves error: memory usage peaked at 1.10GB (1102852096 bytes), exceeding the declared upper bound of 1.06GB (1060217241 bytes)

1 files changed, 1 insertions(+), 4 deletions(-)

build.zig+1-4
...@@ -470,10 +470,7 @@ pub fn build(b: *std.Build) !void {...@@ -470,10 +470,7 @@ pub fn build(b: *std.Build) !void {
470 .skip_llvm = skip_llvm,470 .skip_llvm = skip_llvm,
471 .skip_libc = skip_libc,471 .skip_libc = skip_libc,
472 .max_rss = switch (b.graph.host.result.os.tag) {472 .max_rss = switch (b.graph.host.result.os.tag) {
473 .freebsd => switch (b.graph.host.result.cpu.arch) {473 .freebsd => 2_000_000_000,
474 .x86_64 => 1_060_217_241,
475 else => 1_100_000_000,
476 },
477 .linux => switch (b.graph.host.result.cpu.arch) {474 .linux => switch (b.graph.host.result.cpu.arch) {
478 .aarch64 => 659_809_075,475 .aarch64 => 659_809_075,
479 .loongarch64 => 598_902_374,476 .loongarch64 => 598_902_374,