We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b03df5a commit bdd03f4Copy full SHA for bdd03f4
build.zig
@@ -75,9 +75,11 @@ pub fn build(b: *std.Build) void {
75
zstd_mod.addAnonymousImport("c", .{ .root_source_file = translate_c.getOutput() });
76
77
const tests_exe = b.addTest(.{
78
- .target = target,
79
- .optimize = optimize,
80
- .root_source_file = b.path("src/tests.zig"),
+ .root_module = b.createModule(.{
+ .target = target,
+ .optimize = optimize,
81
+ .root_source_file = b.path("src/tests.zig"),
82
+ }),
83
});
84
tests_exe.root_module.addImport("zstd", zstd_mod);
85
0 commit comments