Rust
Last updated
Was this helpful?
Last updated
Was this helpful?
You can use Wasmer in your Rust projects to execute WebAssembly modules securely and conveniently.
In this section we will go through the instructions on how to setup your Rust environment, to then visit different examples of how to use Wasmer in Rust.
Wasmer publishes various Crates:
Compilers:
Engines:
Integrations:
Now let's setup your Rust environment!
: The Wasmer Runtime
: The Singlepass compiler (fast compilation, normal runtime)
: The Cranelift compiler (normal compilation, a bit faster runtime)
: The LLVM compiler (slower compilation, super fast runtime)
: The JIT Engine
: The Native Engine
: Wasmer's implementation of the WASI standard. This allows you to run Wasm in a POSIX-like environment with a file system and permissions.
: Wasmer's implementation of the Emscripten ABI. This allows you to run Wasm in a less sandboxed way in a 32bit Linux-like environment.