zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit e23bec700c0899aeda9a63e5906b5f74dc49512c (tree)
parent 90f0d7d0dad706dbfd170f65a12d96d41ebb8c3e
Author: Andrew Kelley <andrew@ziglang.org>
Date:   Mon,  5 Jan 2026 21:30:19 -0800

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.

Diffstat:
Mbuild.zig | 10+---------
1 file changed, 1 insertion(+), 9 deletions(-)

diff --git 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,