aboutsummaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
authorDave Gauer <dave@ratfactor.com>2021-05-09 14:25:51 -0400
committerDave Gauer <dave@ratfactor.com>2021-05-09 14:25:51 -0400
commitb86230d1609d0eb8a6356f6e988c3b06d1e7342f (patch)
tree0db501ff243a2b3b1809cad108e961e27cdd51ad /build.zig
parentda3ec19000ee124371793ec3e846e5c2c1b164c2 (diff)
downloadziglings-b86230d1609d0eb8a6356f6e988c3b06d1e7342f.tar.gz
ziglings-b86230d1609d0eb8a6356f6e988c3b06d1e7342f.tar.bz2
ziglings-b86230d1609d0eb8a6356f6e988c3b06d1e7342f.tar.xz
ziglings-b86230d1609d0eb8a6356f6e988c3b06d1e7342f.zip
add ex081 anon structs 2
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 7abb48e..0a7b8b8 100644
--- a/build.zig
+++ b/build.zig
@@ -400,6 +400,10 @@ const exercises = [_]Exercise{
.main_file = "080_anonymous_structs.zig",
.output = "[Circle(i32): 25,70,15] [Circle(f32): 25.2,71.0,15.7]",
},
+ .{
+ .main_file = "081_anonymous_structs2.zig",
+ .output = "x:205 y:187 radius:12",
+ },
};
/// Check the zig version to make sure it can compile the examples properly.