Skip to content

Commit fc2aa43

Browse files
committed
Minor fix to support Zig 0.13
1 parent c489ab4 commit fc2aa43

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
.zig-cache
12
/zig-cache
2-
/zig-out
3+
/zig-out

build.zig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ pub fn build(b: *std.Build) void {
77
const target = b.standardTargetOptions(.{});
88

99
_ = b.addModule("ziglangSet", .{
10-
.root_source_file = .{ .path = "src/root.zig" },
10+
.root_source_file = b.path("src/root.zig"),
1111
.target = target,
1212
.optimize = optimize,
1313
});
1414

1515
const main_tests = b.addTest(.{
1616
.name = "ziglang-set tests",
17-
.root_source_file = .{ .path = "src/root.zig" },
17+
.root_source_file = b.path("src/root.zig"),
1818
.target = target,
1919
.optimize = optimize,
2020
});

0 commit comments

Comments
 (0)