5 releases

0.18.2 Nov 13, 2024
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

#15 in #aot

Download history 1820/week @ 2024-08-24 2064/week @ 2024-08-31 1882/week @ 2024-09-07 1970/week @ 2024-09-14 2601/week @ 2024-09-21 1552/week @ 2024-09-28 1349/week @ 2024-10-05 3122/week @ 2024-10-12 3541/week @ 2024-10-19 3205/week @ 2024-10-26 3477/week @ 2024-11-02 3165/week @ 2024-11-09 2253/week @ 2024-11-16 2221/week @ 2024-11-23 2945/week @ 2024-11-30 3881/week @ 2024-12-07

11,772 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
~218K SLoC