mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-05-09 05:06:17 +00:00
![]() Add an extra argument `os_file_handle file` for `os_mmap` to support mapping file from a file fd, and remove `os_get_invalid_handle` from `posix_file.c` and `win_file.c`, instead, add it in the `platform_internal.h` files to remove the dependency on libc-wasi. Signed-off-by: Huang Qi <huangqi3@xiaomi.com> |
||
---|---|---|
.. | ||
alios | ||
android | ||
common | ||
cosmopolitan | ||
darwin | ||
ego | ||
esp-idf | ||
freebsd | ||
include | ||
linux | ||
linux-sgx | ||
nuttx | ||
riot | ||
rt-thread | ||
vxworks | ||
windows | ||
zephyr | ||
README.md |
This folder contains the platform abstract layer for multiple platforms. To support a new platform, you can simply create a new folder here and implement all the APIs defined in include
folder.
Refer to port_wamr.md for how to port WAMR to a target platform.