From 9ac435510b89e11425d765cd51379863f70b07ac Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 24 Jul 2024 16:36:16 +0200 Subject: Update to zig 0.13.0 --- .gitignore | 1 + README.md | 2 +- build.zig | 2 +- depends/mgl-zig | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index e73c965..8be35bd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ zig-cache/ +.zig-cache/ zig-out/ diff --git a/README.md b/README.md index 7d2be6f..11343b2 100644 --- a/README.md +++ b/README.md @@ -1 +1 @@ -Minimal example of [mgl](https://git.dec05eba.com/mgl/about/) in zig. \ No newline at end of file +Minimal example of [mgl](https://git.dec05eba.com/mgl/about/) in zig (version 0.13.0). \ No newline at end of file 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, diff --git a/depends/mgl-zig b/depends/mgl-zig index 5b62fbe..24c93c8 160000 --- a/depends/mgl-zig +++ b/depends/mgl-zig @@ -1 +1 @@ -Subproject commit 5b62fbe5117dcee4e0a161825d2415144716ee72 +Subproject commit 24c93c8860e3a292f55a98f0b2da31a3e90f94fb -- cgit v1.2.3