From 0b856d12a09df8e9b3a09494ec5488b771c20d0b Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Sat, 3 Jan 2026 01:22:30 -0800 Subject: [PATCH] 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. --- build.zig | 4 ---- 1 file changed, 4 deletions(-) diff --git a/build.zig b/build.zig index 1cef23d2066f7b5e3a05dc8f08361daf80be99d8..2bd61e605d566eec94efb26a138ce8d36d981008 100644 --- 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, -- 2.54.0