You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Jakub Konka b1764e18eb Add appveyor for automated Win testing 6 years ago
src Add template for Windows impl 6 years ago
wasi-common-cbindgen Rename C prefix from __wasi to wasi_common_ 6 years ago
.gitignore Move *nix specific implementation to separate module 6 years ago
.rustfmt.toml Set up CI, add format and test scripts. 6 years ago
.travis.yml Re-enable cargo cache in travis ci 6 years ago
CODE_OF_CONDUCT.md Add contributing guide and code of conduct 6 years ago
CONTRIBUTING.md Add contributing guide and code of conduct 6 years ago
Cargo.toml Move *nix specific implementation to separate module 6 years ago
LICENSE Extract common interface from lucet-wasi 6 years ago
LICENSE.cloudabi-utils Eliminate whitespace diffs with upstream LICENSE files. 6 years ago
README.md Update README 6 years ago
appveyor.yml Add appveyor for automated Win testing 6 years ago
clippy.toml Set up CI, add format and test scripts. 6 years ago
format-all.bat Add convenience batch script for Win 6 years ago
format-all.sh Set up CI, add format and test scripts. 6 years ago
test-all.bat Add convenience batch script for Win 6 years ago
test-all.sh Add convenience batch script for Win 6 years ago

README.md

wasi-common

build-status rustc-1.34

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.