Skip to content

Commit 44c0473

Browse files
committed
fix: make build compatible with zig 0.14.0-dev.1671+085cc54aa
1 parent 4fda267 commit 44c0473

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build.zig

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ pub fn build(b: *std.Build) void {
1414
);
1515

1616
const lib_unit_tests = b.addTest(.{
17-
.root_module = mod,
17+
.root_source_file = b.path("src/root.zig"),
18+
.target = target,
19+
.optimize = optimize,
1820
});
1921

2022
const run_lib_unit_tests = b.addRunArtifact(lib_unit_tests);

0 commit comments

Comments
 (0)