36 stable releases (12 major)

new 19.0.0 Mar 20, 2024
18.0.3 Mar 12, 2024
18.0.2 Feb 28, 2024
17.0.2 Feb 28, 2024
7.0.0 Mar 20, 2023

#1402 in WebAssembly

Download history 23/week @ 2023-12-04 7/week @ 2023-12-11 72/week @ 2023-12-18 16/week @ 2023-12-25 30/week @ 2024-01-01 78/week @ 2024-01-08 40/week @ 2024-01-15 196/week @ 2024-01-22 61/week @ 2024-01-29 169/week @ 2024-02-05 133/week @ 2024-02-12 328/week @ 2024-02-19 432/week @ 2024-02-26 168/week @ 2024-03-04 319/week @ 2024-03-11 382/week @ 2024-03-18

1,311 downloads per month
Used in 2 crates

Apache-2.0 WITH LLVM-exception

1.5MB
27K SLoC

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.


lib.rs:

Implement wasi-threads.

Dependencies

~12–25MB
~365K SLoC