diff --git a/build.zig b/build.zig index a764ee8..dd5d444 100644 --- a/build.zig +++ b/build.zig @@ -17,7 +17,7 @@ pub fn build(b: *std.Build) void { var exe = b.addExecutable(.{ .name = "zremap", - // In this case the main source file is merely a path, however, in more + // In this case the main source file is merely a path, however, in more), // complicated build scripts, this could be a generated file. .root_source_file = b.path("src/main.zig"), .target = target, @@ -57,7 +57,7 @@ pub fn build(b: *std.Build) void { // Creates a step for unit testing. This only builds the test executable // but does not run it. const unit_tests = b.addTest(.{ - .root_source_file = .{ .path = "src/main.zig" }, + .root_source_file = b.path("src/main.zig"), .target = target, .optimize = optimize, });