diff options
| author | JopStro <joseph.strong@live.co.uk> | 2022-10-31 21:22:55 +0000 |
|---|---|---|
| committer | JopStro <joseph.strong@live.co.uk> | 2022-10-31 21:22:55 +0000 |
| commit | dad10ef80052d668ad374b99773fa3f7d2fd2f05 (patch) | |
| tree | a4add7ad4d7daaa946bc31331db72541dc65f749 | |
| parent | 71eb21aab7bd572c95feb21533eefeb328874a6f (diff) | |
create _yeild stub for wasi_wasm32 target to avoid compile error
| -rw-r--r-- | core/time/time_wasi.odin | 2 |
1 files changed, 2 insertions, 0 deletions
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" () { +} |