Skip to content

Commit b265e3b

Browse files
authored
- Fixup build script deprecations (#3)
1 parent 4c850e2 commit b265e3b

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

build.zig

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@ pub fn build(b: *std.Build) void {
1212

1313
const tests = b.addTest(.{
1414
.name = "zpool-tests",
15-
.root_source_file = b.path("src/main.zig"),
16-
.target = target,
17-
.optimize = optimize,
15+
.root_module = b.createModule(.{
16+
.root_source_file = b.path("src/main.zig"),
17+
.target = target,
18+
.optimize = optimize,
19+
}),
1820
});
1921
b.installArtifact(tests);
2022

0 commit comments

Comments
 (0)