Registry / other / wasmer-compiler-llvm

wasmer-compiler-llvm

JSON →
library7.1.0rscratesunverified

LLVM compiler backend for the Wasmer WebAssembly runtime.

# Cargo.toml [dependencies] wasmer-compiler-llvm = "7.1.0"
INSTALL
IMPORT
SIG · WASMER-COMPILER-LL
W
wasmer-compiler-llvm
otherrustv7.1.0
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.

LLVMCompiler
✓ use wasmer_compiler_llvm::LLVMCompiler;

Initialize Wasmer with LLVM compiler backend.

use wasmer_compiler_llvm::LLVMCompiler; use wasmer::{Store, CompilerConfig}; fn main() { let compiler = LLVMCompiler::new(); let mut store = Store::new(&compiler); // Use store to compile Wasm modules }
Debug
Known issues
gotchaRequires LLVM libraries installed on the system.
fix
Install LLVM via package manager (e.g., `apt install llvm-dev`).
affects: >=7.0.0
Upgrade
Version history
7.1.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

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