Skip to content

Commit bdd03f4

Browse files
committed
update to Zig 0.15
1 parent b03df5a commit bdd03f4

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
@@ -75,9 +75,11 @@ pub fn build(b: *std.Build) void {
7575
zstd_mod.addAnonymousImport("c", .{ .root_source_file = translate_c.getOutput() });
7676

7777
const tests_exe = b.addTest(.{
78-
.target = target,
79-
.optimize = optimize,
80-
.root_source_file = b.path("src/tests.zig"),
78+
.root_module = b.createModule(.{
79+
.target = target,
80+
.optimize = optimize,
81+
.root_source_file = b.path("src/tests.zig"),
82+
}),
8183
});
8284
tests_exe.root_module.addImport("zstd", zstd_mod);
8385

0 commit comments

Comments
 (0)