Merge pull request #342 from ratfactor/v4246

Upgrade to Zig version 4246
This commit is contained in:
Chris Boesch 2023-07-26 20:28:22 +02:00 committed by GitHub
commit b5d54364cc
2 changed files with 4 additions and 3 deletions

View file

@ -45,7 +45,7 @@ Verify the installation and build number of `zig` like so:
``` ```
$ zig version $ zig version
0.11.0-dev.3853+xxxxxxxxx 0.11.0-dev.4246+xxxxxxxxx
``` ```
Clone this repository with Git: Clone this repository with Git:
@ -89,7 +89,8 @@ that if you update one, you may need to also update the other.
### Version Changes ### Version Changes
Version-0.11.0-dev.3853+cc2daae47 Version-0.11.0-dev.4246+71dfce31b
* *2023-06-26* zig 0.11.0-dev.4246 - changes in compile step (now it can be null)
* *2023-06-26* zig 0.11.0-dev.3853 - removal of destination type from all cast builtins * *2023-06-26* zig 0.11.0-dev.3853 - removal of destination type from all cast builtins
* *2023-06-20* zig 0.11.0-dev.3747 - `@enumToInt` is now `@intFromEnum` and `@intToFloat` is now `@floatFromInt` * *2023-06-20* zig 0.11.0-dev.3747 - `@enumToInt` is now `@intFromEnum` and `@intToFloat` is now `@floatFromInt`
* *2023-05-25* zig 0.11.0-dev.3295 - `std.debug.TTY` is now `std.io.tty` * *2023-05-25* zig 0.11.0-dev.3295 - `std.debug.TTY` is now `std.io.tty`

View file

@ -15,7 +15,7 @@ const print = if (@hasDecl(debug, "print")) debug.print else debug.warn;
// When changing this version, be sure to also update README.md in two places: // When changing this version, be sure to also update README.md in two places:
// 1) Getting Started // 1) Getting Started
// 2) Version Changes // 2) Version Changes
const needed_version_str = "0.11.0-dev.3853"; const needed_version_str = "0.11.0-dev.4246";
fn isCompatible() bool { fn isCompatible() bool {
if (!@hasDecl(builtin, "zig_version") or !@hasDecl(std, "SemanticVersion")) { if (!@hasDecl(builtin, "zig_version") or !@hasDecl(std, "SemanticVersion")) {