mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-02-06 23:15:16 +00:00
91eafa1ead
The problem was found by a `Golang + WAMR (as CGO)` wrapped by EGO in SGX Enclave. `fstat()` in EGO returns dummy values: - EGO uses a `mount` configuration to define the mount points that apply the host file system presented to the Encalve. - EGO has a different programming model: the entire application runs inside the enclave. Manual ECALLs/OCALLs by application code are neither required nor possible. Add platform ego and add macro control for the return value checking of `fd_determine_type_rights` in libc-wasi to resolve the issue. |
||
---|---|---|
.. | ||
alios | ||
android | ||
common | ||
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.