mirror of
https://codeberg.org/ziglings/exercises.git
synced 2024-12-27 18:06:28 +00:00
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:
parent
0fd80d6cba
commit
ddc835762c
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue