wasm-micro-runtime/core/iwasm/common
Alfred E. Neumayer 9b8fe049b3
core/iwasm: Support mapped file system access on non-libuv WASI (#2628)
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> ...
```
2023-10-27 12:48:10 +08:00
..
arch Add support for universal binaries on OSX (#2060) 2023-03-30 09:53:07 +08:00
iwasm_common.cmake Add support for universal binaries on OSX (#2060) 2023-03-30 09:53:07 +08:00
SConscript Add ia32 support and fix compiling issue for RT-Thread (#730) 2021-09-07 10:20:14 +08:00
wasm_application.c Fix several typo/warning/unused-code issues (#2655) 2023-10-24 09:19:45 +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 wasm-c-api: Fix init/destroy thread env multiple times issue (#1766) 2022-12-05 11:16:14 +08:00
wasm_c_api.c Fix duplicate vector init in wasm_module_validate (#2498) 2023-08-23 12:35:46 +08:00
wasm_exec_env.c Fix multi-threading issues (#2013) 2023-03-08 10:57:22 +08:00
wasm_exec_env.h Implement suspend flags as atomic variable (#2361) 2023-07-21 08:27:09 +08:00
wasm_memory.c Add user to enlarge memory error callback (#2546) 2023-09-13 18:03:49 +08:00
wasm_memory.h Add user to enlarge memory error callback (#2546) 2023-09-13 18:03:49 +08:00
wasm_native.c Fix several typo/warning/unused-code issues (#2655) 2023-10-24 09:19:45 +08:00
wasm_native.h Implement module instance context APIs (#2436) 2023-09-07 14:54:11 +08:00
wasm_runtime_common.c core/iwasm: Support mapped file system access on non-libuv WASI (#2628) 2023-10-27 12:48:10 +08:00
wasm_runtime_common.h Support muti-module for AOT mode (#2482) 2023-09-28 08:56:11 +08:00
wasm_shared_memory.c Fix memory sharing (#2415) 2023-08-04 10:18:13 +08:00
wasm_shared_memory.h Fix memory sharing (#2415) 2023-08-04 10:18:13 +08:00
wasm_suspend_flags.h Implement async termination of blocking thread (#2516) 2023-09-20 18:11:52 +08:00