Registry / other / wasmer-runtime-core

wasmer-runtime-core

JSON →
library0.17.1rscratesunverified

Core runtime library for the Wasmer WebAssembly virtual machine.

# Cargo.toml [dependencies] wasmer-runtime-core = "0.17.1"
INSTALL
IMPORT
SIG · WASMER-RUNTIME-COR
W
wasmer-runtime-core
otherrustv0.17.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.

Instance
✓ use wasmer_runtime_core::Instance;

Create a WebAssembly instance from WAT bytes

use wasmer_runtime_core::Instance; fn main() -> Result<(), Box<dyn std::error::Error>> { let wasm_bytes = wat::parse_str("(module)")?; let instance = Instance::new(&wasm_bytes)?; println!("Wasm instance created"); Ok(()) }
Debug
Known issues
breakingDeprecated in favor of wasmer 2.x+; use wasmer crate instead
fix
Migrate to the `wasmer` crate with updated API
affects: >=0.17.0
Upgrade
Version history
0.17.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
12
Resources
wasmer-runtime-core — cargo add wasmer-runtime-core · libregistry