From dad10ef80052d668ad374b99773fa3f7d2fd2f05 Mon Sep 17 00:00:00 2001 From: JopStro Date: Mon, 31 Oct 2022 21:22:55 +0000 Subject: [PATCH] create _yeild stub for wasi_wasm32 target to avoid compile error --- core/time/time_wasi.odin | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/time/time_wasi.odin b/core/time/time_wasi.odin index 9360e3591..dacf911fc 100644 --- a/core/time/time_wasi.odin +++ b/core/time/time_wasi.odin @@ -22,3 +22,5 @@ _tick_now :: proc "contextless" () -> Tick { return {} } +_yield :: proc "contextless" () { +}