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

#2 in #aot

Download history 1184/week @ 2020-10-02 735/week @ 2020-10-09 1001/week @ 2020-10-16 1047/week @ 2020-10-23 1070/week @ 2020-10-30 1058/week @ 2020-11-06 1182/week @ 2020-11-13 684/week @ 2020-11-20 765/week @ 2020-11-27 1059/week @ 2020-12-04 788/week @ 2020-12-11 202/week @ 2020-12-18 59/week @ 2020-12-25 168/week @ 2021-01-01 146/week @ 2021-01-08 161/week @ 2021-01-15

5,887 downloads per month
Used in 14 crates (3 directly)

MIT license

1MB
25K SLoC

Wasmer logo

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

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

~6MB
~137K SLoC