diff --git a/.gitignore b/.gitignore index dbce079..cc69643 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ zig-cache/ +.zig-cache/ zig-out/ build/ build-*/ diff --git a/build.zig b/build.zig index 6499169..1e4dea5 100644 --- a/build.zig +++ b/build.zig @@ -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, });