Registry / other / wasmer-engine-jit

wasmer-engine-jit

JSON →
library1.0.2rscratesunverified

Wasmer JIT Engine for compiling WebAssembly modules.

# Cargo.toml [dependencies] wasmer-engine-jit = "1.0.2"
INSTALL
IMPORT
SIG · WASMER-ENGINE-JIT
W
wasmer-engine-jit
otherrustv1.0.2
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.

JIT
use wasmer_engine_jit::JIT;

Creates a JIT engine and compiles a minimal WebAssembly module.

use wasmer_engine_jit::JIT; use wasmer::{Store, Module}; fn main() -> Result<(), Box<dyn std::error::Error>> { let engine = JIT::new(); let store = Store::new(&engine); let _module = Module::new(&store, b"(module)")?; Ok(()) }
Debug
Known issues
gotchaRequires the wasmer runtime and may need Cranelift or LLVM backend features.
fix
Enable the 'cranelift' or 'llvm' feature in wasmer.
affects: >= 1.0
Upgrade
Version history
1.0.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
14
Resources
wasmer-engine-jit — cargo add wasmer-engine-jit · libregistry