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.
pull/2/head
Chris Boesch 1 year ago
parent 0fd80d6cba
commit ddc835762c

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

Loading…
Cancel
Save