Update to Zig 0.12

This commit is contained in:
2024-05-05 19:40:20 +02:00
parent 209cec7c9d
commit 1c14166088
3 changed files with 37 additions and 38 deletions

View File

@@ -19,11 +19,11 @@ pub fn build(b: *std.Build) void {
.name = "codefirst-dockerproxy-clientdrone",
// 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,
.strip = true,
});
exe.strip = true;
// This declares intent for the executable to be installed into the
// standard location when the user invokes the "install" step (the default