Skip to content

Commit

Permalink
Fix build for zig master
Browse files Browse the repository at this point in the history
  • Loading branch information
akarpovskii committed May 30, 2024
1 parent 6f170fd commit 08ab894
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
zig-cache/
.zig-cache/
zig-out/
build/
build-*/
Expand Down
2 changes: 1 addition & 1 deletion build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ pub fn build(b: *std.Build) void {
const optimize = b.standardOptimizeOption(.{});

_ = b.addModule("build.crab", .{
.root_source_file = .{ .path = "src/root.zig" },
.root_source_file = b.path("src/root.zig"),
.target = target,
.optimize = optimize,
});
Expand Down

0 comments on commit 08ab894

Please sign in to comment.