diff options
author | zachir <zachir@librem.one> | 2025-07-13 19:22:21 -0500 |
---|---|---|
committer | zachir <zachir@librem.one> | 2025-07-13 19:22:21 -0500 |
commit | d1b53e8f5b276caf0ea18eac6db6637b97c29ea0 (patch) | |
tree | 317aea77ab16f71c671459f3bdc2671eb558fe2e | |
parent | b2933cec0acfa95031415eda88d0ba5d061d35e5 (diff) |
Update build system to work with vig 0.14.1
-rw-r--r-- | build.zig | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -19,7 +19,7 @@ pub fn build(b: *std.Build) void { .name = "zeven", // 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 = .{ .path = "src/main.zig" }, + .root_source_file = b.path("src/main.zig"), .target = target, .optimize = optimize, }); @@ -55,7 +55,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, }); |