aboutsummaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-07-24 16:36:16 +0200
committerdec05eba <dec05eba@protonmail.com>2024-07-24 16:36:16 +0200
commit9ac435510b89e11425d765cd51379863f70b07ac (patch)
tree408c9473bbaf64db3a0616995555117271a00535 /build.zig
parent27c5c9905dcec4bc7743cf67ed1db9b167af38a8 (diff)
Update to zig 0.13.0HEADmaster
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.zig b/build.zig
index 8eefb26..7eec672 100644
--- a/build.zig
+++ b/build.zig
@@ -6,7 +6,7 @@ pub fn build(b: *std.Build) void {
const exe = b.addExecutable(.{
.name = "mgl-zig-example",
- .root_source_file = .{ .path = "src/main.zig" },
+ .root_source_file = b.path("src/main.zig"),
.target = target,
.optimize = optimize,
.strip = optimize != std.builtin.OptimizeMode.Debug,