Skip to content

Commit

Permalink
update to latest Zig API
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
  • Loading branch information
slimsag committed Apr 13, 2024
1 parent 1a9a033 commit 4427bfa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ pub fn build(b: *std.Build) !void {
}

comptime {
const supported_zig = std.SemanticVersion.parse("0.12.0-dev.3180+83e578a18") catch unreachable;
const supported_zig = std.SemanticVersion.parse("0.12.0-dev.3644+05d975576") catch unreachable;
if (builtin.zig_version.order(supported_zig) != .eq) {
@compileError(std.fmt.comptimePrint("unsupported Zig version ({}). Required Zig version 2024.3.0-mach: https://machengine.org/about/nominated-zig/#202430-mach", .{builtin.zig_version}));
}
Expand Down
4 changes: 2 additions & 2 deletions build.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
},
.dependencies = .{
.glfw = .{
.url = "https://pkg.machengine.org/glfw/8f7ca982913c0ab64df44d79d6ad2fb592e5ec39.tar.gz",
.hash = "122085745c053e68fea3772c7239c7c87bcc7f042fa3189592b30e0e39cbb9603d79",
.url = "https://pkg.machengine.org/glfw/95b04a472e324c85e2fa5f84999ce9f856a4f221.tar.gz",
.hash = "1220e086d3e7a3b3bef1d7063cd4ca27076e371184a7c7e9ffc83b1a9b36b169aaab",
},
},
}

0 comments on commit 4427bfa

Please sign in to comment.