mirror of
https://codeberg.org/ziglings/exercises.git
synced 2026-06-08 07:50:00 +00:00
v0.16
This commit is contained in:
@@ -45,7 +45,7 @@ Verify the installation and build number of `zig` like so:
|
||||
|
||||
```
|
||||
$ zig version
|
||||
0.16.0-dev.xxxx+xxxxxxxxx
|
||||
0.17.0-dev.xxxx+xxxxxxxxx
|
||||
```
|
||||
|
||||
Clone this repository with Git:
|
||||
@@ -73,7 +73,7 @@ the appropriate tag.
|
||||
The Zig language is under very active development. In order to be
|
||||
current, Ziglings tracks **development** builds of the Zig
|
||||
compiler rather than versioned **release** builds. The last
|
||||
stable release was `0.15.2`, but Ziglings needs a dev build with
|
||||
stable release was `0.16`, but Ziglings needs a dev build with
|
||||
pre-release version "0.16.0" and a build number at least as high
|
||||
as that shown in the example version check above.
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ const print = std.debug.print;
|
||||
// 1) Getting Started
|
||||
// 2) Version Changes
|
||||
comptime {
|
||||
const required_zig = "0.16.0-dev.2915";
|
||||
const required_zig = "0.16.0";
|
||||
const current_zig = builtin.zig_version;
|
||||
const min_zig = std.SemanticVersion.parse(required_zig) catch unreachable;
|
||||
if (current_zig.order(min_zig) == .lt) {
|
||||
|
||||
Reference in New Issue
Block a user