4 releases

new 0.18.1 Jul 23, 2021
0.18.0 Jul 20, 2021
0.18.0-pre.1 Jul 8, 2021
0.17.1 Oct 28, 2020

#99 in WebAssembly

Download history 826/week @ 2021-04-04 1381/week @ 2021-04-11 1222/week @ 2021-04-18 1191/week @ 2021-04-25 1381/week @ 2021-05-02 1169/week @ 2021-05-09 926/week @ 2021-05-16 1224/week @ 2021-05-23 626/week @ 2021-05-30 714/week @ 2021-06-06 999/week @ 2021-06-13 1552/week @ 2021-06-20 1477/week @ 2021-06-27 1727/week @ 2021-07-04 2178/week @ 2021-07-11 1076/week @ 2021-07-18

5,291 downloads per month

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

~7.5MB
~170K SLoC