wasm-micro-runtime/core/iwasm/interpreter
YAMAMOTO Takashi 912c2a6e31
add a set of apis to configure wasi via InstantiationArgs2 (#4707)
* track if WASIArguments is configured by user

i plan to use this to decide which wasi arguments
(the one from module or the one from InstantiationArgs2)
to use.

* add WASIArguments to InstantiationArgs2

* use wasi configuration from InstantiationArgs2 if any

fallback to the via-module configuration for now.

* add a few api to configure wasi via InstantiationArgs2

* configure wasi via InstantiationArgs2 for platforms using libc_wasi.c

* rt-thread: migrate to libc_wasi_set_init_args

* common/libc_wasi.c: retire libc_wasi_init

* fix build without wasi
2025-11-24 19:20:21 +08:00
..
iwasm_interp.cmake Implement wasm mini loader and refine footprint of loader and runtime (#276) 2020-06-08 11:19:09 +08:00
SConscript add porting codes of rt-thread (#494) 2021-01-14 11:26:35 +08:00
wasm_interp_classic.c Merge commit from fork 2025-11-24 14:37:46 +08:00
wasm_interp_fast.c Fast-interp should report unsupported opcode (#4723) 2025-11-24 15:48:29 +08:00
wasm_interp.h Calculate func_index instead of adding an extra field to wasm frame 2025-01-28 11:09:32 +00:00
wasm_loader.c Merge commit from fork 2025-11-24 14:23:04 +08:00
wasm_loader.h Enhance wasm loading with LoadArgs and support module names (#3265) 2024-04-07 15:04:35 +08:00
wasm_mini_loader.c add validation of dynamic_offset (#4563) 2025-10-23 11:27:30 +08:00
wasm_opcode.h Merge commit from fork 2025-11-24 14:37:46 +08:00
wasm_runtime.c add a set of apis to configure wasi via InstantiationArgs2 (#4707) 2025-11-24 19:20:21 +08:00
wasm_runtime.h Pass InstantiationArgs2 down to aot_instantiate/wasm_instantiate (#4594) 2025-10-23 15:57:50 +08:00
wasm.h add a set of apis to configure wasi via InstantiationArgs2 (#4707) 2025-11-24 19:20:21 +08:00