Update for Zig 0.13.0-dev.351+64ef45eb0
3 files changed, 4 insertions(+), 4 deletions(-)

M .hgignore
M Makefile
M build.zig
M .hgignore +1 -1
@@ 3,5 3,5 @@ syntax: glob
 *.a
 main
 *.o
-zig-cache
+.zig-cache
 zig-out

          
M Makefile +1 -1
@@ 29,4 29,4 @@ test: $(ZIG_SRCS)
 
 clean:
 	rm -f *.o *.a main
-	rm -rf zig-out zig-cache
+	rm -rf zig-out .zig-cache

          
M build.zig +2 -2
@@ 8,7 8,7 @@ pub fn build(b: *Build) void {
     const lib = b.addStaticLibrary(
         .{
             .name = "add",
-            .root_source_file = .{ .path = "src/main.zig" },
+            .root_source_file = b.path("src/main.zig"),
             .target = target,
             .optimize = optimize,
         },

          
@@ 23,7 23,7 @@ pub fn build(b: *Build) void {
     lib.pie = true;
 
     const main_tests = b.addTest(.{
-        .root_source_file = .{ .path = "src/main.zig" },
+        .root_source_file = b.path("src/main.zig"),
         .target = target,
         .optimize = optimize,
     });