From e23bec700c0899aeda9a63e5906b5f74dc49512c Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Mon, 5 Jan 2026 21:30:19 -0800 Subject: [PATCH] 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. --- build.zig | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/build.zig b/build.zig index 58a5c5def3..aaa67f458d 100644 --- a/build.zig +++ b/build.zig @@ -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,