28 releases (14 breaking)
0.17.1 | Jun 24, 2020 |
---|---|
0.16.2 | Mar 12, 2020 |
0.12.0 | Dec 19, 2019 |
0.11.0 | Nov 24, 2019 |
0.5.7 | Jul 23, 2019 |
#1536 in WebAssembly
402 downloads per month
Used in 8 crates
(2 directly)
1MB
25K
SLoC
Wasmer singlepass backend
Wasmer is a standalone JIT WebAssembly runtime, aiming to be fully compatible with Emscripten, Rust and Go. Learn more.
This crate represents the Singlepass backend integration for Wasmer.
Usage
Usage in Wasmer Standalone
If you are using the wasmer
CLI, you can specify the backend with:
wasmer run program.wasm --backend=singlepass
Usage in Wasmer Embedded
If you are using Wasmer Embedded, you can specify
the singlepass backend to the compile_with
function:
use wasmer_singlepass_backend::SinglepassCompiler;
// ...
let module = wasmer_runtime_core::compile_with(&wasm_binary[..], &SinglepassCompiler::new());
Dependencies
~8.5MB
~178K SLoC