make callMainAsync async

master
Vexu 2019-11-07 17:02:21 +02:00 committed by Andrew Kelley
parent 2e52fafac5
commit 3858a526e3
1 changed files with 1 additions and 1 deletions

View File

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