Attempt to make the version error and README clearer (#14)
This commit is contained in:
parent
6ccd55729e
commit
216c01318e
2 changed files with 13 additions and 8 deletions
|
|
@ -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/
|
||||
\\
|
||||
, .{});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue