4 releases

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

#2032 in Magic Beans

Download history 3680/week @ 2024-03-14 2594/week @ 2024-03-21 2249/week @ 2024-03-28 4195/week @ 2024-04-04 3641/week @ 2024-04-11 2783/week @ 2024-04-18 2788/week @ 2024-04-25 3394/week @ 2024-05-02 2811/week @ 2024-05-09 3066/week @ 2024-05-16 2710/week @ 2024-05-23 5086/week @ 2024-05-30 3783/week @ 2024-06-06 3645/week @ 2024-06-13 3041/week @ 2024-06-20 1992/week @ 2024-06-27

13,604 downloads per month
Used in 2 crates

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

~10MB
~209K SLoC