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

#1453 in WebAssembly

Download history 9/week @ 2024-01-01 61/week @ 2024-01-08 66/week @ 2024-01-15 38/week @ 2024-01-22 9/week @ 2024-01-29 29/week @ 2024-02-05 67/week @ 2024-02-12 64/week @ 2024-02-19 121/week @ 2024-02-26 96/week @ 2024-03-04 132/week @ 2024-03-11 125/week @ 2024-03-18 69/week @ 2024-03-25 230/week @ 2024-04-01 79/week @ 2024-04-08 116/week @ 2024-04-15

517 downloads per month
Used in 8 crates (2 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

~8MB
~173K SLoC