Update for Zig 0.13.0-dev.351+64ef45eb0
M .hgignore +1 -1
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, });