Skip to content

Commit

Permalink
link libc in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
schmee committed Jan 24, 2024
1 parent ece4a80 commit 101c883
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ pub fn build(b: *std.Build) !void {
.root_source_file = .{ .path = "src/test.zig" },
.optimize = optimize,
.target = target,
.link_libc = true,
});
const run_tests = b.addRunArtifact(tests);
test_step.dependOn(&run_tests.step);
Expand Down

0 comments on commit 101c883

Please sign in to comment.