Skip to content

Commit

Permalink
Merge pull request #342 from ratfactor/v4246
Browse files Browse the repository at this point in the history
Upgrade to Zig version 4246
  • Loading branch information
chrboesch authored Jul 26, 2023
2 parents d67789c + 3ee6c6e commit d572302
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Verify the installation and build number of `zig` like so:

```
$ zig version
0.11.0-dev.3853+xxxxxxxxx
0.11.0-dev.4246+xxxxxxxxx
```

Clone this repository with Git:
Expand Down Expand Up @@ -89,7 +89,8 @@ that if you update one, you may need to also update the other.

### 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-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`
Expand Down
2 changes: 1 addition & 1 deletion src/compat.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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:
// 1) Getting Started
// 2) Version Changes
const needed_version_str = "0.11.0-dev.3853";
const needed_version_str = "0.11.0-dev.4246";

fn isCompatible() bool {
if (!@hasDecl(builtin, "zig_version") or !@hasDecl(std, "SemanticVersion")) {
Expand Down

0 comments on commit d572302

Please sign in to comment.