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.
This commit is contained in:
Andrew Kelley 2026-01-05 21:30:19 -08:00
parent 90f0d7d0da
commit e23bec700c

View file

@ -593,15 +593,7 @@ pub fn build(b: *std.Build) !void {
.x86_64 => 3_756_422_348,
else => 3_800_000_000,
},
.linux => switch (b.graph.host.result.cpu.arch) {
.aarch64 => 6_732_817_203,
.loongarch64 => 3_216_349_593,
.powerpc64le => 3_090_179_276,
.riscv64 => 4_052_670_054,
.s390x => 3_652_514_201,
.x86_64 => 3_249_546_854,
else => 6_800_000_000,
},
.linux => 6_800_000_000,
.macos => switch (b.graph.host.result.cpu.arch) {
.aarch64 => 8_273_795_481,
else => 8_300_000_000,