#jit-compiler #compiler #jit #aot

nightly wasmer-singlepass-backend

Wasmer runtime single pass compiler backend

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

#1536 in WebAssembly

Download history 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 149/week @ 2024-04-22 94/week @ 2024-04-29 80/week @ 2024-05-06 93/week @ 2024-05-13 89/week @ 2024-05-20 112/week @ 2024-05-27 86/week @ 2024-06-03 70/week @ 2024-06-10 112/week @ 2024-06-17 117/week @ 2024-06-24

402 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

~8.5MB
~178K SLoC