require Zig v0.11 for Mach v0.2
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
4f6d768e0c
commit
126b0bfd56
1 changed files with 1 additions and 1 deletions
|
|
@ -156,7 +156,7 @@ fn sdkPath(comptime suffix: []const u8) []const u8 {
|
||||||
}
|
}
|
||||||
|
|
||||||
comptime {
|
comptime {
|
||||||
const min_zig = std.SemanticVersion.parse("0.11.0-dev.4410+76f7b40e1") catch unreachable;
|
const min_zig = std.SemanticVersion.parse("0.11.0") catch unreachable;
|
||||||
if (builtin.zig_version.order(min_zig) == .lt) {
|
if (builtin.zig_version.order(min_zig) == .lt) {
|
||||||
@compileError(std.fmt.comptimePrint("Your Zig version v{} does not meet the minimum build requirement of v{}", .{ builtin.zig_version, min_zig }));
|
@compileError(std.fmt.comptimePrint("Your Zig version v{} does not meet the minimum build requirement of v{}", .{ builtin.zig_version, min_zig }));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue