summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2025-07-13 19:22:21 -0500
committerzachir <zachir@librem.one>2025-07-13 19:22:21 -0500
commitd1b53e8f5b276caf0ea18eac6db6637b97c29ea0 (patch)
tree317aea77ab16f71c671459f3bdc2671eb558fe2e
parentb2933cec0acfa95031415eda88d0ba5d061d35e5 (diff)
Update build system to work with vig 0.14.1
-rw-r--r--build.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.zig b/build.zig
index 7d73be1..fbde52e 100644
--- a/build.zig
+++ b/build.zig
@@ -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,
});