update zig version in build and readme

This commit is contained in:
Nuno Mendes 2024-09-16 18:34:35 +02:00
parent 580e126266
commit 798bb40396
2 changed files with 4 additions and 3 deletions

View file

@ -88,7 +88,8 @@ that if you update one, you may need to also update the other.
### Version Changes ### Version Changes
Version-0.14.0-dev.1224 Version-0.14.0-dev.1575
* *2024-09-16* zig 0.14.0-dev.1575 - introduction of labeled switch, see [#21257](https://github.com/ziglang/zig/pull/21257)
* *2024-09-02* zig 0.14.0-dev.1409 - several changes in std.builtin, see [#21225](https://github.com/ziglang/zig/pull/21225) * *2024-09-02* zig 0.14.0-dev.1409 - several changes in std.builtin, see [#21225](https://github.com/ziglang/zig/pull/21225)
* *2024-08-04* zig 0.14.0-dev.1224 - several changes in build system, see [#21115](https://github.com/ziglang/zig/pull/21115) * *2024-08-04* zig 0.14.0-dev.1224 - several changes in build system, see [#21115](https://github.com/ziglang/zig/pull/21115)
* *2024-08-04* zig 0.14.0-dev.839 - several changes in build system, see [#20580](https://github.com/ziglang/zig/pull/20580), [#20600](https://github.com/ziglang/zig/issues/20600) * *2024-08-04* zig 0.14.0-dev.839 - several changes in build system, see [#20580](https://github.com/ziglang/zig/pull/20580), [#20600](https://github.com/ziglang/zig/issues/20600)
@ -229,7 +230,7 @@ Zig Core Language
* [X] Bit manipulation * [X] Bit manipulation
* [X] Working with C * [X] Working with C
* [X] Threading * [X] Threading
* [ ] Labeled switch (#21257) * [x] Labeled switch
Zig Standard Library Zig Standard Library

View file

@ -15,7 +15,7 @@ const print = std.debug.print;
// 1) Getting Started // 1) Getting Started
// 2) Version Changes // 2) Version Changes
comptime { comptime {
const required_zig = "0.14.0-dev.1409"; const required_zig = "0.14.0-dev.1575";
const current_zig = builtin.zig_version; const current_zig = builtin.zig_version;
const min_zig = std.SemanticVersion.parse(required_zig) catch unreachable; const min_zig = std.SemanticVersion.parse(required_zig) catch unreachable;
if (current_zig.order(min_zig) == .lt) { if (current_zig.order(min_zig) == .lt) {