#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

#1602 in WebAssembly

Download history 84/week @ 2024-07-22 282/week @ 2024-07-29 81/week @ 2024-08-05 81/week @ 2024-08-12 73/week @ 2024-08-19 81/week @ 2024-08-26 39/week @ 2024-09-02 32/week @ 2024-09-09 23/week @ 2024-09-16 86/week @ 2024-09-23 69/week @ 2024-09-30 26/week @ 2024-10-14 30/week @ 2024-10-21 39/week @ 2024-10-28 26/week @ 2024-11-04

121 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

~9.5MB
~205K SLoC