diff --git a/fiat-zig/build.zig b/fiat-zig/build.zig index 6850a1fe13..6967bf1eec 100644 --- a/fiat-zig/build.zig +++ b/fiat-zig/build.zig @@ -2,7 +2,7 @@ const std = @import("std"); pub fn build(b: *std.Build) void { const main_tests = b.addTest(.{ - .root_source_file = .{ .path = "src/main.zig" }, + .root_source_file = b.path("src/main.zig"), }); const run_main_tests = b.addRunArtifact(main_tests); const test_step = b.step("test", "Run library tests"); diff --git a/inversion/zig/build.zig b/inversion/zig/build.zig index 71740840f7..eb84751600 100644 --- a/inversion/zig/build.zig +++ b/inversion/zig/build.zig @@ -2,7 +2,7 @@ const std = @import("std"); pub fn build(b: *std.Build) void { const main_tests = b.addTest(.{ - .root_source_file = .{ .path = "inversion.zig" }, + .root_source_file = b.path("inversion.zig"), }); const run_main_tests = b.addRunArtifact(main_tests); const test_step = b.step("test", "Run tests");