Registry / other / wasmer-compiler

wasmer-compiler

JSON →
library6.0.1rscratesunverified

Base compiler abstraction for Wasmer WebAssembly runtime.

# Cargo.toml [dependencies] wasmer-compiler = "6.0.1"
INSTALL
IMPORT
SIG · WASMER-COMPILER
W
wasmer-compiler
otherrustv6.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Compiler
use wasmer_compiler::Compiler;

Compiles a WebAssembly module using a given compiler.

use wasmer_compiler::Compiler; fn compile_module<C: Compiler>(compiler: &C, wasm_bytes: &[u8]) { let module = compiler.compile(wasm_bytes).unwrap(); println!("Module compiled"); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
6.0.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Resources
wasmer-compiler — cargo add wasmer-compiler · libregistry