fix: zig nightly becomes 0.14.0

This commit is contained in:
jinzhongjia 2024-06-09 11:35:29 +08:00
parent ab827e0b50
commit 27160810a8
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -121,3 +121,4 @@ examples/**/text-editor/text-editor
**/cmake_install.cmake
**/CMakeCache.txt
**/CMakeFiles/
.zig-cache

View File

@ -25,7 +25,7 @@ pub fn build(b: *Build) !void {
std.os.exit(1);
}
},
12, 13 => {
12, 13, 14 => {
if (enable_tls and !target.query.isNative()) {
log.err("cross compilation is not supported with TLS enabled", .{});
std.process.exit(1);