fix version check

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst
2024-01-13 03:11:58 -07:00
parent 10b1e64333
commit 8953217f28
+1 -1
View File
@@ -41,7 +41,7 @@ pub fn addPaths(step: *std.Build.Step.Compile) void {
}
comptime {
const min_zig = std.SemanticVersion.parse("0.12.0-dev.2062+804cee3b9") catch unreachable;
const min_zig = std.SemanticVersion.parse("0.12.0-dev.2063+804cee3b9") catch unreachable;
if (builtin.zig_version.order(min_zig) != .eq) {
@compileError(std.fmt.comptimePrint("unsupported Zig version ({}). Required Zig version 2024.1.0-mach: https://machengine.org/about/nominated-zig/#202410-mach", .{builtin.zig_version}));
}