Commit Graph

9 Commits

Author SHA1 Message Date
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
linear0211
b00ff11ff1
Fix parsing of multiple IPs in --addr-pool option (#4526) 2025-08-04 10:47:54 +08:00
liang.he
121232a995
Merge commit from fork
If `--addr-pool=1.2.3.4`, the runtime will return an error.
The value must be in the form of ADDRESS/MASK.
2025-07-27 14:38:56 +08:00
Huang Qi
412631ac13
fix: correct typos and improve comments across multiple files by codespell (#4116)
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2025-03-07 08:21:54 +08:00
YAMAMOTO Takashi
f453d9d5ce
Appease GCC strict prototypes warning (#3775) 2024-09-10 09:42:23 +08:00
Daniel Mangum
157c289d07
Fix typos of CIDR in docs and help text (#2851)
Fixes typos of CIDR in socket documentation and libc WASI help text.

Signed-off-by: Daniel Mangum <georgedanielmangum@gmail.com>
2023-12-04 11:38:54 +08:00
liang.he
5377e18623
iwasm: Print help when meeting unknown cmd options (#2824) 2023-11-27 11:16:54 +08:00
Wenyong Huang
20f1a8c86c Merge branch main into dev/wasi-libc-windows 2023-11-09 10:13:59 +08:00
Marcin Kolny
aefb265b0d
Move commn iwasm code related to WASI to a shared file (#2477) 2023-08-18 10:37:41 +08:00