Insert current zig version for compatiblity!

This is primarily to make users aware that there has been a change in the call for individual exercises.
This commit is contained in:
Chris Boesch 2023-04-07 18:18:15 +02:00
parent 0fd80d6cba
commit ddc835762c

View file

@ -15,7 +15,7 @@ const print = if (@hasDecl(debug, "print")) debug.print else debug.warn;
// When changing this version, be sure to also update README.md in two places:
// 1) Getting Started
// 2) Version Changes
const needed_version_str = "0.11.0-dev.2157";
const needed_version_str = "0.11.0-dev.2401";
fn isCompatible() bool {
if (!@hasDecl(builtin, "zig_version") or !@hasDecl(std, "SemanticVersion")) {