Skip to content

Commit

Permalink
.github, docs: bump Zig from 0.12.0 to 0.13.0
Browse files Browse the repository at this point in the history
Zig 0.13.0 was released on 2024-06-??. See the release notes [1].

[1] https://ziglang.org/download/0.13.0/release-notes.html
  • Loading branch information
ee7 committed Jun 6, 2024
1 parent fe9bca6 commit 4796950
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/bin/install-zig
Original file line number Diff line number Diff line change
Expand Up @@ -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=(
Expand Down
2 changes: 1 addition & 1 deletion docs/INSTALLATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion exercises/practice/allergies/.docs/instructions.append.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion exercises/practice/anagram/.docs/instructions.append.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 4796950

Please sign in to comment.