Crates.io | wasmtime-wasi-threads |
lib.rs | wasmtime-wasi-threads |
version | 26.0.1 |
source | src |
created_at | 2023-03-20 16:06:16.796363 |
updated_at | 2024-11-05 19:26:46.712743 |
description | Wasmtime implementation of the wasi-threads API |
homepage | |
repository | https://github.com/bytecodealliance/wasmtime |
max_upload_size | |
id | 815450 |
size | 11,540 |
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.