Kindly provide older Zig versions on snap

Hi,

Zig is a new language and often times makes breaking changes in its standard library and build system.

Please provide older versions on snap so we can build our code on different machines, without breaking.

The code I wrote few weeks ago for a work project using Zig 0.14.1 does not compile anymore on Zig 0.15.1.

I was able to solve this issue temporarily by reverting to Zig 0.14.1.

However it does not seem possible to revert on other machines because the snap repo does not provide the older versions of the compiler/stdlib anymore. We need to either install from the beta or edge channel, and they always contain the latest release. Which prevents us from building our old code.

I submitted a request for this on github.

Thanks.

You can grab all the releases from here:

4 Likes

FWIW, a version manager like zvm or zigup might be the better solution:

Those automatically support all versions from the download page exposed via this json: https://ziglang.org/download/index.json

5 Likes

Thank you @whitehexagon and @floooh !

1 Like