wasm-micro-runtime/core/iwasm/common
zoraaver fa5e9d72b0
Abstract POSIX filesystem functions (#2585)
To allow non-POSIX platforms such as Windows to support WASI libc
filesystem functionality, create a set of wrapper functions which provide a
platform-agnostic interface to interact with the host filesystem. For now,
the Windows implementation is stubbed but this will be implemented
properly in a future PR. There are no functional changes in this change,
just a reorganization of code to move any direct POSIX references out of
posix.c in the libc implementation into posix_file.c under the shared
POSIX sources.

See https://github.com/bytecodealliance/wasm-micro-runtime/issues/2495 for a
more detailed overview of the plan to port the WASI libc filesystem to Windows.
2023-10-19 19:19:39 +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 Merge branch main into dev/wasi-libc-windows 2023-10-09 09:24:00 +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 Implement module instance context APIs (#2436) 2023-09-07 14:54:11 +08:00
wasm_native.h Implement module instance context APIs (#2436) 2023-09-07 14:54:11 +08:00
wasm_runtime_common.c Abstract POSIX filesystem functions (#2585) 2023-10-19 19:19:39 +08:00
wasm_runtime_common.h Abstract POSIX filesystem functions (#2585) 2023-10-19 19:19:39 +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