aboutsummaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
authorDave Gauer <dave@ratfactor.com>2021-02-14 19:25:35 -0500
committerDave Gauer <dave@ratfactor.com>2021-02-14 19:25:35 -0500
commit216c01318e7666a17bcab3445ba037da867bfd87 (patch)
treefdfe0e857ccc5202d1c79a90f98d1fba3d73cc8d /build.zig
parent6ccd55729e5de45524337084b03eb5a89b9f3ac1 (diff)
downloadziglings-216c01318e7666a17bcab3445ba037da867bfd87.tar.gz
ziglings-216c01318e7666a17bcab3445ba037da867bfd87.tar.bz2
ziglings-216c01318e7666a17bcab3445ba037da867bfd87.tar.xz
ziglings-216c01318e7666a17bcab3445ba037da867bfd87.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/
\\
, .{});