Skip to content

Commit

Permalink
link libc for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-allan committed Aug 20, 2021
1 parent b5f4fe9 commit 0f267d1
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 @@ -30,5 +30,6 @@ pub fn build(b: *std.build.Builder) void {

var envtpl_tests = b.addTest("src/envtpl.zig");
envtpl_tests.setBuildMode(.Debug);
envtpl_tests.linkSystemLibrary("c");
test_step.dependOn(&envtpl_tests.step);
}

0 comments on commit 0f267d1

Please # to comment.