From c3c16eb207eccd895f5fbbc4b771bd74ea36d071 Mon Sep 17 00:00:00 2001 From: Andrew Brown Date: Thu, 16 Feb 2023 07:37:11 -0800 Subject: [PATCH] wasi-threads: build the crate in the CLI application by default (#5782) This change adds the `wasmtime-wasi-threads` crate as a default crate for the CLI application. This is no change for embedders of Wasmtime: they would still have to include `wasmtime-wasi-threads` manually. Enabling the crate by default in the CLI application has several benefits, e.g., that it is simpler to experiment with and that it will be part of more test runs (and thus bugs can be discovered more quickly). Users will still have to add `--wasi-modules=experimental-wasi-threads` to enable wasi-threads on the command line. --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/Cargo.toml b/Cargo.toml index ed90c0d78c..95e892a1cc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -201,6 +201,7 @@ default = [ "wasmtime/parallel-compilation", "vtune", "wasi-nn", + "wasi-threads", "pooling-allocator", ] jitdump = ["wasmtime/jitdump"]