diff options
author | Manlio Perillo <manlio.perillo@gmail.com> | 2023-04-03 11:06:39 +0200 |
---|---|---|
committer | Manlio Perillo <manlio.perillo@gmail.com> | 2023-04-03 11:37:12 +0200 |
commit | 45713ec8ab21f81291bc14e2725730dac26d5137 (patch) | |
tree | 45740878e3b4253f64b3430d6767486f59cd4323 /exercises/022_errors2.zig | |
parent | dd15cb94fd522bd7c6dd48ff096e4b059a69dbd3 (diff) |
build: restore support for Zig 0.6.0
The version check for Zig 0.6.0 was incorrect since commit
971ab7f (Use a zig build script to run ziglings).
Move compatibility support to a separate file, in order to simplify
build.zig.
In case of incompatible version, exit with code 3 instead of 0, in order
to detect the case of failure in a test (to be implemented).
Remove the use of comptime when checking compatibility at the start of
the build function, since it is not necessary.
Closes #210.
Diffstat (limited to 'exercises/022_errors2.zig')
0 files changed, 0 insertions, 0 deletions