set max_rss=1 on some tests to find out the actual values

This commit is contained in:
Alex Rønne Petersen 2025-12-03 07:04:11 +01:00
parent fa0b57202c
commit edb1801152
No known key found for this signature in database
2 changed files with 2 additions and 0 deletions

View file

@ -631,6 +631,7 @@ pub fn build(b: *std.Build) !void {
.use_llvm = use_llvm, .use_llvm = use_llvm,
.use_lld = use_llvm, .use_lld = use_llvm,
.zig_lib_dir = b.path("lib"), .zig_lib_dir = b.path("lib"),
.max_rss = 1,
}); });
if (link_libc) { if (link_libc) {
unit_tests.root_module.link_libc = true; unit_tests.root_module.link_libc = true;

View file

@ -2595,6 +2595,7 @@ pub fn addCAbiTests(b: *std.Build, options: CAbiTestOptions) *Step {
.root_module = test_mod, .root_module = test_mod,
.use_llvm = c_abi_target.use_llvm, .use_llvm = c_abi_target.use_llvm,
.use_lld = c_abi_target.use_lld, .use_lld = c_abi_target.use_lld,
.max_rss = 1,
}); });
// This test is intentionally trying to check if the external ABI is // This test is intentionally trying to check if the external ABI is