wasmtime-wasi-threads

Crates.iowasmtime-wasi-threads
lib.rswasmtime-wasi-threads
version37.0.1
created_at2023-03-20 16:06:16.796363+00
updated_at2025-09-23 18:43:49.302403+00
descriptionWasmtime implementation of the wasi-threads API
homepage
repositoryhttps://github.com/bytecodealliance/wasmtime
max_upload_size
id815450
size66,295
wasmtime-publish (github:bytecodealliance:wasmtime-publish)

documentation

https://docs.rs/wasmtime-wasi-nn

README

wasmtime-wasi-threads

Implement the wasi-threads specification in Wasmtime.

Note: this crate is experimental and not yet suitable for use in multi-tenant embeddings. As specified, a trap or WASI exit in one thread must end execution for all threads. Due to the complexity of stopping threads, however, this implementation currently exits the process entirely. This will work for some use cases (e.g., CLI usage) but not for embedders. This warning can be removed once a suitable mechanism is implemented that avoids exiting the process.

Commit count: 15266

cargo fmt