aboutsummaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
authorDave Gauer <dave@ratfactor.com>2021-04-15 20:58:12 -0400
committerDave Gauer <dave@ratfactor.com>2021-04-15 20:58:12 -0400
commit1880b24ea67c595eff4b051cb1f624f2b0ab737d (patch)
treeed4c775edee24d02b8651aa1aceba188eff6baa9 /build.zig
parent6f3ab8b0251fb07d8665ca98dca6510298c76bd2 (diff)
downloadziglings-1880b24ea67c595eff4b051cb1f624f2b0ab737d.tar.gz
ziglings-1880b24ea67c595eff4b051cb1f624f2b0ab737d.tar.bz2
ziglings-1880b24ea67c595eff4b051cb1f624f2b0ab737d.tar.xz
ziglings-1880b24ea67c595eff4b051cb1f624f2b0ab737d.zip
add ex067 comptime TWO
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig4
1 files changed, 4 insertions, 0 deletions
diff --git a/build.zig b/build.zig
index face896..410da75 100644
--- a/build.zig
+++ b/build.zig
@@ -336,6 +336,10 @@ const exercises = [_]Exercise{
.output = "Immutable: 12345, 987.654; Mutable: 54321, 456.789; Types: comptime_int, comptime_float, u32, f32",
.hint = "It may help to read this one out loud to your favorite stuffed animal until it sinks in completely."
},
+ .{
+ .main_file = "067_comptime2.zig",
+ .output = "A BB CCC DDDD",
+ },
};
/// Check the zig version to make sure it can compile the examples properly.