wasm-micro-runtime/core/iwasm
Hanged Fish a02cc6626d
Fix libc-wasi not working in spawned exec_env (#1053)
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>
2022-03-22 12:17:14 +08:00
..
aot Fix Windows failed to relocate __ymm symbol error (#1047) 2022-03-16 11:07:11 +08:00
common Use nanosecond for atomic wait (#1041) 2022-03-10 19:43:27 +08:00
compilation Refine call native function from AOT code (#1015) 2022-02-23 14:58:32 +08:00
include Implement part of Berkeley Socket API for libc-wasi (#1036) 2022-03-10 15:13:38 +08:00
interpreter Fix classic interpreter handling BLOCK/IF/LOOP issue (#1051) 2022-03-20 18:07:33 +08:00
libraries Fix libc-wasi not working in spawned exec_env (#1053) 2022-03-22 12:17:14 +08:00
README.md Enable AoT and wamr-sdk, and change arguments of call wasm API (#157) 2020-01-21 13:26:14 +08:00