mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-26 13:01:34 +03:00
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.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user