zig

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

commit 0b856d12a09df8e9b3a09494ec5488b771c20d0b (tree)
parent 88dd682155a38843517ca79ae84f1f0a0d3c5cf9
Author: Andrew Kelley <andrew@ziglang.org>
Date:   Sat,  3 Jan 2026 01:22:30 -0800

build: remove freebsd max_rss special casing

error: memory usage peaked at 6.05GB (6047436800 bytes), exceeding the
declared upper bound of 6.04GB (6044158771 bytes)

This value isn't meant to be OS-specific anyway.

Diffstat:
Mbuild.zig | 4----
1 file changed, 0 insertions(+), 4 deletions(-)

diff --git a/build.zig b/build.zig @@ -830,10 +830,6 @@ fn addCompilerStep(b: *std.Build, options: AddCompilerModOptions) *std.Build.Ste const exe = b.addExecutable(.{ .name = "zig", .max_rss = switch (b.graph.host.result.os.tag) { - .freebsd => switch (b.graph.host.result.cpu.arch) { - .x86_64 => 6_044_158_771, - else => 6_100_000_000, - }, .linux => switch (b.graph.host.result.cpu.arch) { .aarch64 => 6_240_805_683, .loongarch64 => 5_024_158_515,