aboutsummaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
authorDave Gauer <dave@ratfactor.com>2021-05-09 13:24:25 -0400
committerDave Gauer <dave@ratfactor.com>2021-05-09 13:24:25 -0400
commitda3ec19000ee124371793ec3e846e5c2c1b164c2 (patch)
treed74e9b14f2f4ada71270ba63b272848939551975 /build.zig
parent2ad8de54150137244dc1d1b93bb3a75e850ee2b9 (diff)
downloadziglings-da3ec19000ee124371793ec3e846e5c2c1b164c2.tar.gz
ziglings-da3ec19000ee124371793ec3e846e5c2c1b164c2.tar.bz2
ziglings-da3ec19000ee124371793ec3e846e5c2c1b164c2.tar.xz
ziglings-da3ec19000ee124371793ec3e846e5c2c1b164c2.zip
add ex080 anonymous structs 1
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 c66f613..7abb48e 100644
--- a/build.zig
+++ b/build.zig
@@ -396,6 +396,10 @@ const exercises = [_]Exercise{
.output = "Sweet freedom: 55, false.",
.hint = "Help us, Zig Programmer, you're our only hope!",
},
+ .{
+ .main_file = "080_anonymous_structs.zig",
+ .output = "[Circle(i32): 25,70,15] [Circle(f32): 25.2,71.0,15.7]",
+ },
};
/// Check the zig version to make sure it can compile the examples properly.