diff options
-rw-r--r-- | build.zig | 4 | ||||
-rw-r--r-- | exercises/the_end.zig | 6 | ||||
-rw-r--r-- | patches/patches/the_end.patch | 0 |
3 files changed, 10 insertions, 0 deletions
@@ -460,6 +460,10 @@ const exercises = [_]Exercise{ // .output = "ABCDEF", // .@"async" = true, // }, + .{ + .main_file = "the_end.zig", + .output = "This 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.", + }, }; /// Check the zig version to make sure it can compile the examples properly. diff --git a/exercises/the_end.zig b/exercises/the_end.zig new file mode 100644 index 0000000..d6b29e0 --- /dev/null +++ b/exercises/the_end.zig @@ -0,0 +1,6 @@ +// This is the end for now! +// More exercises will follow... + +pub fn main() void { + @import("std").debug.print("This 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.", .{}); +} diff --git a/patches/patches/the_end.patch b/patches/patches/the_end.patch new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/patches/patches/the_end.patch |