30 releases (16 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.2.0 | Feb 25, 2019 |
#1559 in WebAssembly
473 downloads per month
Used in 11 crates
(5 directly)
640KB
14K
SLoC
Wasmer Cranelift backend
Wasmer is a standalone JIT WebAssembly runtime, aiming to be fully compatible with Emscripten, Rust and Go. Learn more.
This crate represents the Cranelift 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=cranelift
Usage in Wasmer Embedded
If you are using Wasmer Embedded, you can specify
the Cranelift backend to the compile_with
function:
use wasmer_clif_backend::CraneliftCompiler;
// ...
let module = wasmer_runtime_core::compile_with(&wasm_binary[..], &CraneliftCompiler::new());
Dependencies
~15MB
~331K SLoC