aboutsummaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
authorDave Gauer <[email protected]>2021-04-15 20:58:12 -0400
committerDave Gauer <[email protected]>2021-04-15 20:58:12 -0400
commitbf861f71f7181a636d9db9a3bf582a6cdc6eb9b7 (patch)
treeed4c775edee24d02b8651aa1aceba188eff6baa9 /build.zig
parentdd06f3c95f670b10a0938fd1ff011f700369033f (diff)
downloadziglings-bf861f71f7181a636d9db9a3bf582a6cdc6eb9b7.tar.xz
ziglings-bf861f71f7181a636d9db9a3bf582a6cdc6eb9b7.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.