aboutsummaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
authorDave Gauer <[email protected]>2021-02-28 18:36:38 -0500
committerDave Gauer <[email protected]>2021-02-28 18:36:38 -0500
commit28791f0cb8df075199862b1367e3ed3ede692fd7 (patch)
tree9d23bc6cb49a6b475b1147b0dc83d3866a10aa51 /build.zig
parent0552a62896696804957af77a94188dbc6eec2be0 (diff)
downloadziglings-28791f0cb8df075199862b1367e3ed3ede692fd7.tar.xz
ziglings-28791f0cb8df075199862b1367e3ed3ede692fd7.zip
Add ex 50 'no values' (help further address #25)
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig5
1 files changed, 4 insertions, 1 deletions
diff --git a/build.zig b/build.zig
index a116b0c..7892117 100644
--- a/build.zig
+++ b/build.zig
@@ -260,7 +260,10 @@ const exercises = [_]Exercise{
.output = "A B C Cv Bv Av",
.hint = "Now you're writting Zig!",
},
- // 50 null vs undefined
+ .{
+ .main_file = "50_no_value.zig",
+ .output = "That is not dead which can eternal lie / And with strange aeons even death may die.",
+ },
// 51 pass-by-value and const fn params
// 52 slices!
};