aboutsummaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
authorDave Gauer <dave@ratfactor.com>2021-03-09 20:04:43 -0500
committerDave Gauer <dave@ratfactor.com>2021-03-09 20:04:43 -0500
commit72ebf3e4606d7c56a92eca112d4227d0b66d2095 (patch)
tree7ce421be8c2cf4eba10c9ba8151188df89585bd1 /build.zig
parent0168afd25005b4a3555d2212d2a099cbad344e2b (diff)
downloadziglings-72ebf3e4606d7c56a92eca112d4227d0b66d2095.tar.gz
ziglings-72ebf3e4606d7c56a92eca112d4227d0b66d2095.tar.bz2
ziglings-72ebf3e4606d7c56a92eca112d4227d0b66d2095.tar.xz
ziglings-72ebf3e4606d7c56a92eca112d4227d0b66d2095.zip
add ex 55 unions
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 75fa9a9..35f00a1 100644
--- a/build.zig
+++ b/build.zig
@@ -280,6 +280,10 @@ const exercises = [_]Exercise{
.main_file = "54_manypointers.zig",
.output = "Memory is a resource.",
},
+ .{
+ .main_file = "55_unions.zig",
+ .output = "Insect report! Ant alive is: true. Bee visited 15 flowers.",
+ },
};
/// Check the zig version to make sure it can compile the examples properly.