mirror of
https://codeberg.org/ziglings/exercises.git
synced 2026-06-08 07:50:00 +00:00
Attempt to make the version error and README clearer (#14)
This commit is contained in:
@@ -271,7 +271,11 @@ pub fn build(b: *Builder) void {
|
||||
// very old versions of Zig used warn instead of print.
|
||||
const stderrPrintFn = if (@hasDecl(std.debug, "print")) std.debug.print else std.debug.warn;
|
||||
stderrPrintFn(
|
||||
\\Error: Your version of zig is too old. Please download a master build from
|
||||
\\ERROR: Sorry, it looks like your version of zig is too old. :-(
|
||||
\\
|
||||
\\The README lists the minimum version and build number.
|
||||
\\
|
||||
\\Please download a master build from
|
||||
\\https://ziglang.org/download/
|
||||
\\
|
||||
, .{});
|
||||
|
||||
Reference in New Issue
Block a user