27 stable releases (8 major)

15.0.1 Dec 1, 2023
15.0.0 Nov 20, 2023
14.0.4 Nov 1, 2023
13.0.1 Oct 26, 2023
7.0.0 Mar 20, 2023

#1296 in WebAssembly

Download history 101/week @ 2023-08-18 109/week @ 2023-08-25 51/week @ 2023-09-01 120/week @ 2023-09-08 203/week @ 2023-09-15 91/week @ 2023-09-22 61/week @ 2023-09-29 87/week @ 2023-10-06 69/week @ 2023-10-13 380/week @ 2023-10-20 340/week @ 2023-10-27 119/week @ 2023-11-03 111/week @ 2023-11-10 131/week @ 2023-11-17 167/week @ 2023-11-24 188/week @ 2023-12-01

619 downloads per month
Used in 2 crates

Apache-2.0 WITH LLVM-exception

1.5MB
29K 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

~13–25MB
~409K SLoC