update build syntax

This commit is contained in:
Asmir A 2024-07-16 10:50:15 +02:00
parent 488affbe3a
commit 687f9fe715
Signed by: asmir
GPG Key ID: 020C42B7A9ABA3E2

View File

@ -19,7 +19,7 @@ pub fn build(b: *std.Build) void {
.name = "zremap", .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. // 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, .target = target,
.optimize = optimize, .optimize = optimize,
}); });