| ... | @@ -214,7 +214,7 @@ inline fn initEventLoopAndCallMain() u8 { | ... | @@ -214,7 +214,7 @@ inline fn initEventLoopAndCallMain() u8 { |
| 214 | return @inlineCall(callMain); | 214 | return @inlineCall(callMain); |
| 215 | } | 215 | } |
| 216 | | 216 | |
| 217 | fn callMainAsync(loop: *std.event.Loop) u8 { | 217 | async fn callMainAsync(loop: *std.event.Loop) u8 { |
| 218 | // This prevents the event loop from terminating at least until main() has returned. | 218 | // This prevents the event loop from terminating at least until main() has returned. |
| 219 | loop.beginOneEvent(); | 219 | loop.beginOneEvent(); |
| 220 | defer loop.finishOneEvent(); | 220 | defer loop.finishOneEvent(); |