mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-12-22 14:03:10 -05:00
the_end function added
This commit is contained in:
parent
039e4736ca
commit
007f4d655b
3 changed files with 10 additions and 0 deletions
|
@ -460,6 +460,10 @@ const exercises = [_]Exercise{
|
||||||
// .output = "ABCDEF",
|
// .output = "ABCDEF",
|
||||||
// .@"async" = true,
|
// .@"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.
|
/// Check the zig version to make sure it can compile the examples properly.
|
||||||
|
|
6
exercises/the_end.zig
Normal file
6
exercises/the_end.zig
Normal file
|
@ -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.", .{});
|
||||||
|
}
|
0
patches/patches/the_end.patch
Normal file
0
patches/patches/the_end.patch
Normal file
Loading…
Reference in a new issue