This commit is contained in:
Adam Millerchip 2022-01-03 00:18:17 +09:00
parent 83ad253758
commit b2027a5950
1 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@ pub fn main() void {
while (global_counter <= 5) {
print("{} ", .{global_counter});
???
resume foo_frame;
}
print("\n", .{});
@ -24,7 +24,7 @@ pub fn main() void {
fn foo() void {
while (true) {
???
???
global_counter += 1;
suspend {}
}
}