mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-14 06:35:40 +00:00
15913a946f
666: Bump serde_bytes from 0.11.1 to 0.11.2 r=Hywan a=dependabot-preview[bot] Bumps [serde_bytes](https://github.com/serde-rs/bytes) from 0.11.1 to 0.11.2. <details> <summary>Release notes</summary> *Sourced from [serde_bytes's releases](https://github.com/serde-rs/bytes/releases).* > ## 0.11.2 > - Support "alloc" feature on stable Rust 1.36+ ([#16](https://github-redirect.dependabot.com/serde-rs/bytes/issues/16), thanks [@​martindisch](https://github.com/martindisch)) </details> <details> <summary>Commits</summary> - [`4856e26`]( |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |
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());