summaryrefslogtreecommitdiffstatshomepage
path: root/build.zig
diff options
context:
space:
mode:
authorChris Boesch <chrboesch@noreply.codeberg.org>2023-03-04 16:07:53 +0100
committerChris Boesch <chrboesch@noreply.codeberg.org>2023-03-04 16:07:53 +0100
commit101151f3f130f845a534caa00537846b70150ac7 (patch)
tree4262da1440019beb86e695497037db3ddeac1e0d /build.zig
parent582f3b1b09cdbca7b27fc657998a4658439e45d7 (diff)
exercise for new for-loops
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig6
1 files changed, 5 insertions, 1 deletions
diff --git a/build.zig b/build.zig
index c91449f..36668b4 100644
--- a/build.zig
+++ b/build.zig
@@ -8,7 +8,7 @@ const print = std.debug.print;
// When changing this version, be sure to also update README.md in two places:
// 1) Getting Started
// 2) Version Changes
-const needed_version = std.SemanticVersion.parse("0.11.0-dev.1711") catch unreachable;
+const needed_version = std.SemanticVersion.parse("0.11.0-dev.1844") catch unreachable;
const Exercise = struct {
/// main_file must have the format key_name.zig.
@@ -480,6 +480,10 @@ const exercises = [_]Exercise{
.C = true,
},
.{
+ .main_file = "095_for_loops.zig",
+ .output = "1 2 4 7 8 11 13 14 16 17 19",
+ },
+ .{
.main_file = "999_the_end.zig",
.output = "\nThis is the end for now!\nWe hope you had fun and were able to learn a lot, so visit us again when the next exercises are available.",
},