wasmer/lib/clif-backend
dependabot-preview[bot] 616b768529
Bump winapi from 0.3.7 to 0.3.8
Bumps [winapi](https://github.com/retep998/winapi-rs) from 0.3.7 to 0.3.8.
- [Release notes](https://github.com/retep998/winapi-rs/releases)
- [Commits](https://github.com/retep998/winapi-rs/compare/0.3.7...0.3.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-02 09:11:48 +00:00
..
src Fix compilation on AArch64 Linux. 2019-08-20 16:37:32 -07:00
Cargo.toml Bump winapi from 0.3.7 to 0.3.8 2019-09-02 09:11:48 +00:00
README.md Improved Wasmer Backends documentation 2019-07-24 18:06:59 -07:00

Wasmer logo

Build Status License Join the Wasmer Community Number of downloads from crates.io Read our API documentation

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());