aboutsummaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
authorDave Gauer <[email protected]>2021-02-14 19:25:35 -0500
committerDave Gauer <[email protected]>2021-02-14 19:25:35 -0500
commit4b8cb2e44499bbde3ef10846cafffbe0cb1c1fb3 (patch)
treefdfe0e857ccc5202d1c79a90f98d1fba3d73cc8d /build.zig
parent03a09639c6aee07c5958e22b42a83172abc7984e (diff)
downloadziglings-4b8cb2e44499bbde3ef10846cafffbe0cb1c1fb3.tar.xz
ziglings-4b8cb2e44499bbde3ef10846cafffbe0cb1c1fb3.zip
Attempt to make the version error and README clearer (#14)
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig6
1 files changed, 5 insertions, 1 deletions
diff --git a/build.zig b/build.zig
index a9c4783..878de7e 100644
--- a/build.zig
+++ b/build.zig
@@ -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/
\\
, .{});