From 687f9fe7154a1dead8b4447d772109621ab06562 Mon Sep 17 00:00:00 2001 From: Asmir A Date: Tue, 16 Jul 2024 10:50:15 +0200 Subject: [PATCH] update build syntax --- build.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.zig b/build.zig index 588f431..a764ee8 100644 --- a/build.zig +++ b/build.zig @@ -19,7 +19,7 @@ pub fn build(b: *std.Build) void { .name = "zremap", // 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, });