wasmer-singlepass-backend-x

Crates.iowasmer-singlepass-backend-x
lib.rswasmer-singlepass-backend-x
version0.18.1
sourcesrc
created_at2024-04-27 00:01:16.885792
updated_at2024-04-27 00:34:08.267806
descriptionWasmer runtime single pass compiler backend
homepage
repositoryhttps://github.com/wasmerio/wasmer
max_upload_size
id1222125
size597,368
jong-un (zwong91)

documentation

README

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());
Commit count: 17039

cargo fmt