Jakub Konka
b1764e18eb
|
6 years ago | |
---|---|---|
src | 6 years ago | |
wasi-common-cbindgen | 6 years ago | |
.gitignore | 6 years ago | |
.rustfmt.toml | 6 years ago | |
.travis.yml | 6 years ago | |
CODE_OF_CONDUCT.md | 6 years ago | |
CONTRIBUTING.md | 6 years ago | |
Cargo.toml | 6 years ago | |
LICENSE | 6 years ago | |
LICENSE.cloudabi-utils | 6 years ago | |
README.md | 6 years ago | |
appveyor.yml | 6 years ago | |
clippy.toml | 6 years ago | |
format-all.bat | 6 years ago | |
format-all.sh | 6 years ago | |
test-all.bat | 6 years ago | |
test-all.sh | 6 years ago |
README.md
wasi-common
This repo will ultimately serve as a library providing a common implementation of WASI hostcalls for re-use in any WASI (and potentially non-WASI) runtimes such as Wasmtime and Lucet.
The library is an adaption of lucet-wasi crate from the Lucet project, and it is currently based on 40ae1df git revision.
Please note that the library requires Rust compiler version at least 1.34.0.
Supported syscalls
We currently support the entire WASI API with the exception of socket hostcalls:
sock_recv
sock_send
sock_shutdown
We expect these to be implemented when network access is standardised.
We also currently do not support the proc_raise
hostcall, as it is expected to
be dropped entirely from WASI.
Third-Party Code
Significant parts of our hostcall implementations are derived from the C implementations in
cloudabi-utils
. See LICENSE.cloudabi-utils for license information.