summaryrefslogtreecommitdiffstatshomepage
path: root/exercises/045_optionals.zig
diff options
context:
space:
mode:
authorManlio Perillo <manlio.perillo@gmail.com>2023-04-03 11:06:39 +0200
committerManlio Perillo <manlio.perillo@gmail.com>2023-04-03 11:37:12 +0200
commit45713ec8ab21f81291bc14e2725730dac26d5137 (patch)
tree45740878e3b4253f64b3430d6767486f59cd4323 /exercises/045_optionals.zig
parentdd15cb94fd522bd7c6dd48ff096e4b059a69dbd3 (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/045_optionals.zig')
0 files changed, 0 insertions, 0 deletions