diff options
| author | Tadeo Kondrak <me@tadeo.ca> | 2020-05-04 09:49:27 -0600 |
|---|---|---|
| committer | Tadeo Kondrak <me@tadeo.ca> | 2020-05-05 09:38:02 -0600 |
| commit | 6745a6f6f6f2b8d4473f00bed03a6cf1af117890 (patch) | |
| tree | 37ae8d09b48070877421d18aa79d6a49600210f1 /lib/std/start.zig | |
| parent | d0e996405bff4352c78c570b4944b369d642d058 (diff) | |
| download | zig-6745a6f6f6f2b8d4473f00bed03a6cf1af117890.tar.gz zig-6745a6f6f6f2b8d4473f00bed03a6cf1af117890.zip | |
zig fmt
Diffstat (limited to 'lib/std/start.zig')
| -rw-r--r-- | lib/std/start.zig | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/std/start.zig b/lib/std/start.zig index 631bb2e9f8..604c22101c 100644 --- a/lib/std/start.zig +++ b/lib/std/start.zig @@ -224,8 +224,7 @@ inline fn initEventLoopAndCallMain() u8 { // and we want fewer call frames in stack traces. return @call(.{ .modifier = .always_inline }, callMain, .{}); } - -async fn callMainAsync(loop: *std.event.Loop) u8 { +fn callMainAsync(loop: *std.event.Loop) callconv(.Async) u8 { // This prevents the event loop from terminating at least until main() has returned. loop.beginOneEvent(); defer loop.finishOneEvent(); |
