Merge pull request 'changed to zig-dev version 2471' (#359) from i357 into main

Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/359
This commit is contained in:
Chris Boesch 2026-02-04 11:44:04 +01:00
commit 7d4162e388
2 changed files with 3 additions and 2 deletions

View File

@ -87,6 +87,7 @@ that if you update one, you may need to also update the other.
### Version Changes ### Version Changes
* 2026-02-04 zig 0.16.0-dev.2471 - added process.Child.Cwd, see [#31090](https://codeberg.org/ziglang/zig/pulls/31090)
* 2026-01-09 zig 0.16.0-dev.2075 - move randomness API to `std.Io`, see [#30709](https://codeberg.org/ziglang/zig/pulls/30709) * 2026-01-09 zig 0.16.0-dev.2075 - move randomness API to `std.Io`, see [#30709](https://codeberg.org/ziglang/zig/pulls/30709)
* 2026-01-07 zig 0.16.0-dev.2040 - adjust temp files, see [#30683](https://codeberg.org/ziglang/zig/pulls/30683) * 2026-01-07 zig 0.16.0-dev.2040 - adjust temp files, see [#30683](https://codeberg.org/ziglang/zig/pulls/30683)
* 2026-01-06 zig 0.16.0-dev.1976 - move process API to `std.Io` and changes to main/environ/argv, see [#30644](https://codeberg.org/ziglang/zig/pulls/30644) * 2026-01-06 zig 0.16.0-dev.1976 - move process API to `std.Io` and changes to main/environ/argv, see [#30644](https://codeberg.org/ziglang/zig/pulls/30644)

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.16.0-dev.2075"; const required_zig = "0.16.0-dev.2471";
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) {
@ -1286,7 +1286,7 @@ const exercises = [_]Exercise{
\\Max difference (new fn): 0.014 \\Max difference (new fn): 0.014
, ,
}, },
.{ .main_file = "110_quiz9.zig", .output = .{ .main_file = "110_quiz9.zig", .output =
\\Toggle pins with XOR on PORTB \\Toggle pins with XOR on PORTB
\\----------------------------- \\-----------------------------
\\ 1100 // (initial state of PORTB) \\ 1100 // (initial state of PORTB)