mirror of
https://codeberg.org/ziglings/exercises.git
synced 2026-06-08 15:59:59 +00:00
Update the code to the new zig version
Update the code to the breaking change in ziglang commit 60eabc0ec (std.Build.CompileStep: remove run() and install()) Update the zig version in the README.md file.
This commit is contained in:
@@ -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.2401";
|
||||
const needed_version_str = "0.11.0-dev.2560";
|
||||
|
||||
fn isCompatible() bool {
|
||||
if (!@hasDecl(builtin, "zig_version") or !@hasDecl(std, "SemanticVersion")) {
|
||||
|
||||
Reference in New Issue
Block a user