Registry / networking / wasi-common

wasi-common

JSON →
library45.0.1rscratesunverified

WASI implementation in Rust, providing core WASI system call bindings for WebAssembly runtimes.

# Cargo.toml [dependencies] wasi-common = "45.0.1"
INSTALL
IMPORT
SIG · WASI-COMMON
W
wasi-common
networkingrustv45.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.

WasiCtx
use wasi_common::WasiCtx;

Creates a WASI context with standard I/O and environment.

use wasi_common::WasiCtx; fn main() { let ctx = WasiCtx::new(std::env::args_os(), std::env::vars_os(), std::io::stdin(), std::io::stdout(), std::io::stderr()); println!("WASI context created"); }
Debug
Known issues
breakingThis crate is part of Wasmtime and may have breaking changes across versions; check compatibility with your runtime.
fix
Pin to a specific version and consult the Wasmtime release notes for migration guides.
affects: >=45.0.0
Upgrade
Version history
45.0.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
16
OpenAI (training)
1
Resources
wasi-common — cargo add wasi-common · libregistry