authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2026-01-05 21:30:19-08:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2026-01-07 11:03:37-08:00
loge23bec700c0899aeda9a63e5906b5f74dc49512c
treebb9dfecf4d951cc9b5d3e2d26349a2a32a6fe462
parent90f0d7d0dad706dbfd170f65a12d96d41ebb8c3e

build: delete some wrong max_rss values

these aren't even checking the correct target, it's checking based on the host so when cross compiling the numbers don't even make sense.

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

build.zig+1-9
...@@ -593,15 +593,7 @@ pub fn build(b: *std.Build) !void {...@@ -593,15 +593,7 @@ pub fn build(b: *std.Build) !void {
593 .x86_64 => 3_756_422_348,593 .x86_64 => 3_756_422_348,
594 else => 3_800_000_000,594 else => 3_800_000_000,
595 },595 },
596 .linux => switch (b.graph.host.result.cpu.arch) {596 .linux => 6_800_000_000,
597 .aarch64 => 6_732_817_203,
598 .loongarch64 => 3_216_349_593,
599 .powerpc64le => 3_090_179_276,
600 .riscv64 => 4_052_670_054,
601 .s390x => 3_652_514_201,
602 .x86_64 => 3_249_546_854,
603 else => 6_800_000_000,
604 },
605 .macos => switch (b.graph.host.result.cpu.arch) {597 .macos => switch (b.graph.host.result.cpu.arch) {
606 .aarch64 => 8_273_795_481,598 .aarch64 => 8_273_795_481,
607 else => 8_300_000_000,599 else => 8_300_000_000,