You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Imported functions currently run in "native" mode. This means trying to use a wasm module instance in any of these functions is borderline impossible, and even if it does succeed, it'd immediately crash with a mutex error.
Sharing the stack between native and wasm makes perfect sense. Similar to how "locals" takes up virtual space, we can use the same mechanism to store the async frame. Doing a corresponding wasmCall can automatically suspend the current frame and circle back when it's ready.
Continuation of #8
Imported functions currently run in "native" mode. This means trying to use a wasm module instance in any of these functions is borderline impossible, and even if it does succeed, it'd immediately crash with a mutex error.
Example code:
Things that need to happen to get this usecase working:
*Execution
as first argument.fn invoke()
of sorts. This should be very similar tofn run()
... possibly the same?The text was updated successfully, but these errors were encountered: