mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
tests: add a maxrss for compiling std lib C backend .c file
I observed clang taking 8G to compile the output from the std lib tests using the C backend. This commit should make the Windows CI stop failing due to OOM.
This commit is contained in:
parent
5c70d7bc72
commit
c75e11bf6a
1 changed files with 1 additions and 0 deletions
|
|
@ -1017,6 +1017,7 @@ pub fn addModuleTests(b: *std.Build, options: ModuleTestOptions) *Step {
|
|||
.name = qualified_name,
|
||||
.link_libc = test_target.link_libc,
|
||||
.target = altered_target,
|
||||
.max_rss = if (mem.eql(u8, options.name, "std")) 9126805504 else 0,
|
||||
});
|
||||
compile_c.overrideZigLibDir("lib");
|
||||
compile_c.addCSourceFileSource(.{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue