Wasmer Runtime is the embeddable WebAssembly engine
for Rust and C. It compiles, instantiates, and executes Wasm modules. This
repository contains the wasmer Rust API, the C API,
the virtual machine, the Cranelift, Singlepass, and LLVM compilers, the V8 and
JavaScript backends, and runtime crates such as wasmer-cache and
wasmer-middlewares.
The Wasmer CLI, WASI/WASIX support, and packaging tools live in
wasmerio/wasmer. For higher-level sandbox
SDKs, see wasmerio/wasmer-sdk.
From a clone of this repository with submodules initialized, run the Rust embedding example:
cargo run --locked --example hello-world --features craneliftTo use the runtime in your own Rust project, add the wasmer crate with
cargo add wasmer. Its default native backend uses Cranelift. See the
crate README for a minimal embedding example and the
Rust API reference for more details.
- Documentation index
- Build the runtime from source
- Repository architecture
- Runtime examples
- Run tests
- Contributing guide
- Report a runtime issue or disclose a security issue privately
See the root license and the separate licenses for the LLVM and Singlepass backends.