wasm3 icon indicating copy to clipboard operation
wasm3 copied to clipboard

Error: missing imported function('wasi_snapshot_preview1.sched_yield')

Open Zaprit opened this issue 2 years ago • 1 comments

I will start by saying that I am trying to test my go application on an utterly unsupported platform (PS3 Running linux, PPC).

When running the application it gets only so far before encountering Error: missing imported function ('wasi_snapshot_preview1.sched_yield'), and I read that I should report a bug for this. If any more information is needed just ask

Zaprit avatar Aug 29 '23 02:08 Zaprit

wasm3 doesn't have a re-entrant API, so I wonder if this makes any sense to support.

Maybe if sched_yield set a flag causing m3_Yield to return a "sched_yield called" error. But is there a wasm3 API to resume execution later?

tommie avatar Aug 03 '24 13:08 tommie