mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-02-06 15:05:19 +00:00
9b8fe049b3
This patch enables mapping host directories to guest directories by parsing the `map_dir_list` argument in API `wasm_runtime_init_wasi` for libc-wasi. It follows the format `<guest-path>::<host-path>`. It also adds argument `--map-dir=<guest::host>` argument for `iwasm` common line tool, and allows to add multiple mappings: ```bash iwasm --map-dir=<guest-path1::host-path1> --map-dir=<guest-path2::host-path2> ... ``` |
||
---|---|---|
.. | ||
alios-things | ||
android | ||
cosmopolitan | ||
darwin | ||
esp-idf | ||
freebsd | ||
ios | ||
linux | ||
linux-sgx | ||
nuttx | ||
posix | ||
riot | ||
rt-thread | ||
vxworks | ||
windows | ||
zephyr/simple |