Browse Source

create _yeild stub for wasi_wasm32 target to avoid compile error

JopStro 2 years ago
parent
commit
dad10ef800
1 changed files with 2 additions and 0 deletions
  1. 2 0
      core/time/time_wasi.odin

+ 2 - 0
core/time/time_wasi.odin

@@ -22,3 +22,5 @@ _tick_now :: proc "contextless" () -> Tick {
 	return {}
 }
 
+_yield :: proc "contextless" () {
+}