aboutsummaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
authorDave Gauer <dave@ratfactor.com>2021-05-09 18:58:56 -0400
committerDave Gauer <dave@ratfactor.com>2021-05-09 18:58:56 -0400
commit5ff9d692314e9d319e85780d9281878ea5fc6107 (patch)
treec823a22a4d181c3aff8c2c4ba11d089cad5cec69 /build.zig
parentb86230d1609d0eb8a6356f6e988c3b06d1e7342f (diff)
downloadziglings-5ff9d692314e9d319e85780d9281878ea5fc6107.tar.gz
ziglings-5ff9d692314e9d319e85780d9281878ea5fc6107.tar.bz2
ziglings-5ff9d692314e9d319e85780d9281878ea5fc6107.tar.xz
ziglings-5ff9d692314e9d319e85780d9281878ea5fc6107.zip
add ex082 anon structs 3
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig5
1 files changed, 5 insertions, 0 deletions
diff --git a/build.zig b/build.zig
index 0a7b8b8..90d8a0b 100644
--- a/build.zig
+++ b/build.zig
@@ -404,6 +404,11 @@ const exercises = [_]Exercise{
.main_file = "081_anonymous_structs2.zig",
.output = "x:205 y:187 radius:12",
},
+ .{
+ .main_file = "082_anonymous_structs3.zig",
+ .output = "\"0\"(bool):true \"1\"(bool):false \"2\"(i32):42 \"3\"(f32):3.14159202e+00",
+ .hint = "This one is a challenge! But you have everything you need."
+ },
};
/// Check the zig version to make sure it can compile the examples properly.