Skip to content

Commit b966296

Browse files
authored
Use new addModule syntax (#11)
Co-authored-by: Yuri Pieters <[email protected]>
1 parent efc9167 commit b966296

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

build.zig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
const std = @import("std");
22

33
pub fn build(b: *std.Build) void {
4-
b.addModule(.{
5-
.name = "diffz",
4+
_ = b.addModule("diffz", .{
65
.source_file = .{ .path = "DiffMatchPatch.zig" },
76
});
87
}

0 commit comments

Comments
 (0)