diff options
author | Chris Boesch <chrboesch@noreply.codeberg.org> | 2023-01-21 23:26:53 +0100 |
---|---|---|
committer | Chris Boesch <chrboesch@noreply.codeberg.org> | 2023-01-21 23:26:53 +0100 |
commit | 007f4d655b54f164bbe64c67f0cdd5971f578925 (patch) | |
tree | 34bfe2d8569253dd4d22b7e235d08ec72790bbed | |
parent | 039e4736caf91f8021cb5bf36a1b4a14bb8e8c74 (diff) |
the_end function added
-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 |