wasm-micro-runtime/core/iwasm/common
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
..
arch refactor: Improve debug experience with CFI directives and proper label naming in Thumb invokeNative (#4719) 2025-11-24 19:19:18 +08:00
gc Collective fix for typos and minor bugs (#4369) 2025-06-17 09:26:00 +08:00
iwasm_common.cmake Implement invokeNative asm code for armasm64 assembler on ARM64 Windows (#4636) 2025-10-09 12:09:00 +08:00
SConscript Refactor SConscript and add file checks in iwasm.c (#3945) 2024-12-06 14:54:37 +08:00
wasm_application.c Merge dev/zephyr_file_socket into main (#4347) 2025-08-25 16:55:23 +08:00
wasm_blocking_op.c Implement async termination of blocking thread (#2516) 2023-09-20 18:11:52 +08:00
wasm_c_api_internal.h Fix some spelling issues (#3385) 2024-05-06 07:56:48 +08:00
wasm_c_api.c fix: correct typos and improve comments across multiple files by codespell (#4116) 2025-03-07 08:21:54 +08:00
wasm_exec_env.c feat: Add instruction metering for interpreter (#4122) 2025-05-26 16:16:42 +08:00
wasm_exec_env.h feat: Add instruction metering for interpreter (#4122) 2025-05-26 16:16:42 +08:00
wasm_loader_common.c add validation for struct field type (#4536) 2025-08-11 15:07:15 +08:00
wasm_loader_common.h add validation for struct field type (#4536) 2025-08-11 15:07:15 +08:00
wasm_memory.c fix bug and add unit test case for runtime api when shared heap is enabled (#4695) 2025-11-11 16:22:45 +08:00
wasm_memory.h fix bug and add unit test case for runtime api when shared heap is enabled (#4695) 2025-11-11 16:22:45 +08:00
wasm_native.c Fix an undefined reference problem (#4612) 2025-09-11 06:32:15 +08:00
wasm_native.h Appease GCC strict prototypes warning (#3775) 2024-09-10 09:42:23 +08:00
wasm_runtime_common.c add a set of apis to configure wasi via InstantiationArgs2 (#4707) 2025-11-24 19:20:21 +08:00
wasm_runtime_common.h add a set of apis to configure wasi via InstantiationArgs2 (#4707) 2025-11-24 19:20:21 +08:00
wasm_shared_memory.c fix bug and add unit test case for runtime api when shared heap is enabled (#4695) 2025-11-11 16:22:45 +08:00
wasm_shared_memory.h Appease GCC strict prototypes warning (#3775) 2024-09-10 09:42:23 +08:00
wasm_suspend_flags.h Do not inherit WASM_SUSPEND_FLAG_BLOCKING from the parent thread (#3051) 2024-01-19 09:55:01 +08:00