mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2024-10-16 21:12:20 +00:00
a02cc6626d
In thread_manager.c, `wasm_cluster_spawn_exec_env` creates a new module instance but not sets wasi_ctx, so when the new exec_env calls wasm function which uses WASI API, the WASI API functions in `libc_wasi_wrapper.c` will get null result in calling `get_wasi_ctx` and then return `wasi_errno`. Signed-off-by: HangedFish <bravohangedman@outlook.com> |
||
---|---|---|
.. | ||
debug-engine | ||
lib-pthread | ||
lib-socket | ||
libc-builtin | ||
libc-emcc | ||
libc-uvwasi | ||
libc-wasi | ||
thread-mgr |