diff --git a/.github/bin/install-zig b/.github/bin/install-zig index f6de4970..90bcb1fb 100755 --- a/.github/bin/install-zig +++ b/.github/bin/install-zig @@ -18,7 +18,7 @@ esac arch="$(uname -m)" -version='0.12.0' +version='0.13.0' url="https://ziglang.org/download/${version}/zig-${os}-${arch}-${version}.${ext}" curlopts=( diff --git a/docs/INSTALLATION.md b/docs/INSTALLATION.md index 0d842e91..9be83fa5 100644 --- a/docs/INSTALLATION.md +++ b/docs/INSTALLATION.md @@ -5,7 +5,7 @@ Fortunately, all of the popular installation methods are listed on the [Zig inst ## Zig version -Exercism currently supports Zig 0.12.0 (released on 2024-04-20) only. +Exercism currently supports Zig 0.13.0 (released on 2024-06-??) only. An exercise may be compatible with a different Zig version, but that isn't guaranteed. Zig has not yet reached version 1.0, and breaking changes are common. diff --git a/exercises/practice/allergies/.docs/instructions.append.md b/exercises/practice/allergies/.docs/instructions.append.md index 7477d56a..df340c74 100644 --- a/exercises/practice/allergies/.docs/instructions.append.md +++ b/exercises/practice/allergies/.docs/instructions.append.md @@ -4,4 +4,4 @@ It may be helpful to look at the implementation of [`std.enums.EnumSet`][enumset]. -[enumset]: https://github.com/ziglang/zig/blob/0.12.0/lib/std/enums.zig#L243-L247 +[enumset]: https://github.com/ziglang/zig/blob/0.13.0/lib/std/enums.zig#L243-L247 diff --git a/exercises/practice/anagram/.docs/instructions.append.md b/exercises/practice/anagram/.docs/instructions.append.md index b626395c..fa43bdb3 100644 --- a/exercises/practice/anagram/.docs/instructions.append.md +++ b/exercises/practice/anagram/.docs/instructions.append.md @@ -13,6 +13,6 @@ For more details on hash maps in Zig, see: - [Zighelp - Hash Maps][zighelp] - [Zig Standard Library - `buf_set.zig`][buf-set] -[buf-set]: https://github.com/ziglang/zig/blob/0.12.0/lib/std/buf_set.zig +[buf-set]: https://github.com/ziglang/zig/blob/0.13.0/lib/std/buf_set.zig [zig-hashmaps-explained]: https://devlog.hexops.com/2022/zig-hashmaps-explained/ [zighelp]: https://zighelp.org/chapter-2/#hash-maps diff --git a/exercises/practice/perfect-numbers/.docs/instructions.append.md b/exercises/practice/perfect-numbers/.docs/instructions.append.md index 7db2599c..a518621a 100644 --- a/exercises/practice/perfect-numbers/.docs/instructions.append.md +++ b/exercises/practice/perfect-numbers/.docs/instructions.append.md @@ -8,6 +8,6 @@ For more details, see the [Zig Language Reference][zig-reference] and the implem However, note that this exercise does not currently test an input of 0 (because `std.testing` does [not yet support expecting a panic][proposal]). -[zig-reference]: https://ziglang.org/documentation/0.12.0/#unreachable -[assert]: https://github.com/ziglang/zig/blob/0.12.0/lib/std/debug.zig#L392-L404 +[zig-reference]: https://ziglang.org/documentation/0.13.0/#unreachable +[assert]: https://github.com/ziglang/zig/blob/0.13.0/lib/std/debug.zig#L401-L413 [proposal]: https://github.com/ziglang/zig/issues/1356