Merge pull request #23525 from alexrp/ci-max-rss

`std.Build`: Demote errors for exceeding `max_rss` to warnings.
This commit is contained in:
Alex Rønne Petersen 2025-06-03 03:57:56 +02:00 committed by GitHub
commit f4f4460e17
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 0 additions and 6 deletions

View File

@ -1001,10 +1001,6 @@ if(NOT "${ZIG_TARGET_DYNAMIC_LINKER}" STREQUAL "")
list(APPEND ZIG_BUILD_ARGS "-Ddynamic-linker=${ZIG_TARGET_DYNAMIC_LINKER}")
endif()
if(MINGW AND "${ZIG_HOST_TARGET_ARCH}" STREQUAL "x86")
list(APPEND ZIG_BUILD_ARGS --maxrss 7000000000)
endif()
add_custom_target(stage3 ALL
DEPENDS "${PROJECT_BINARY_DIR}/stage3/bin/zig"

View File

@ -599,7 +599,6 @@ fn prepare(
if (run.max_rss_is_default) {
std.debug.print("note: use --maxrss to override the default", .{});
}
return uncleanExit();
}
}
}

View File

@ -247,7 +247,6 @@ pub fn make(s: *Step, options: MakeOptions) error{ MakeFailed, MakeSkipped }!voi
s.result_peak_rss, s.max_rss,
}) catch @panic("OOM");
s.result_error_msgs.append(arena, msg) catch @panic("OOM");
return error.MakeFailed;
}
}