fix: link libc in test
This commit is contained in:
parent
e63cc5ba5a
commit
5b3cacdb3b
1 changed files with 1 additions and 0 deletions
|
|
@ -57,6 +57,7 @@ pub fn build(b: *std.Build) !void {
|
|||
.mode = .simple,
|
||||
},
|
||||
});
|
||||
mod_tests.root_module.link_libc = target.result.os.tag == .freestanding;
|
||||
test_step.dependOn(&b.addRunArtifact(mod_tests).step);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue