The recent Zig 0.14.1 release flipped the "arch" and "OS" fields in the tarball name; for instance, zig-x86_64-linux-0.14.1.tar.xz
instead of zig-linux-x86_64-0.14.1.tar.xz
. This brings the tarball names in line with target triple syntax.
The change does not retroactively apply to old Zig tarballs.
So, this patch has only one fix:
- Add support for new Zig tarball name format as of Zig 0.14.1 / 0.15.0-dev.631+9a3540d61
Note
I do not intend to update v1 to support the new tarball name format.
setup-zig
version 1 is considered deprecated. Please upgrade to version 2.