wasmer/lib/runtime-abi
2019-07-02 14:13:45 -07:00
..
src Add deny for unreachable patterns and unused unsafe 2019-05-12 00:33:02 -05:00
Cargo.toml update for release wasmer 0.5.2 2019-07-02 14:13:45 -07:00
README.md switch to zbox 2019-03-13 14:23:55 -07:00

runtime-abi

This crate has ABI functions (like syscalls) and extensions to the runtime for enabling ABIs (e.g. virtual filesystem).

Virtual Filesystem (experimental)

The virtual filesystem allows the runtime to read bundled wasm data as if they were files. Data that is stored in a custom section compressed with zstd compression and archived with tar will be exposed as files and mounted in the / root.

The only current supported operation is the read syscall.

The virtual filesystem is not enabled by default. Build with --features vfs to use it.

Zbox is a virtual filesystem that depends on libsodium. See installation instructions for libsodium here. One can statically link libsodium with the instructions on Zbox's readme.