From fbd79b5b41d923d05c781b4028fd63c2e6631d71 Mon Sep 17 00:00:00 2001 From: kayomn Date: Tue, 4 Oct 2022 22:10:28 +0100 Subject: [PATCH] Fix panic when calling runGraphics in main --- src/main.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.zig b/src/main.zig index 4b83a2b..1cd1926 100644 --- a/src/main.zig +++ b/src/main.zig @@ -11,7 +11,7 @@ const sys = @import("./sys.zig"); /// Entry point. /// pub fn main() anyerror!void { - return nosuspend sys.runGraphics(anyerror, run); + return nosuspend await async sys.runGraphics(anyerror, run); } test {