Skip to content

A lightweight WebAssembly runtime that is fast, secure, and standards-compliant

Enable `component-model-async` Cargo feature by default (#11822)

Alex Crichtonff402d814fae
diff --git a/Cargo.toml b/Cargo.toml
index 246f78c2e8..c7be7455c9 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -462,6 +462,7 @@ default = [
"addr2line",
"debug-builtins",
"component-model",
+ "component-model-async",
"threads",
"gc",
"gc-drc",
diff --git a/ci/build-release-artifacts.sh b/ci/build-release-artifacts.sh
index 7dbeaeeef7..fbbcb0f457 100755
--- a/ci/build-release-artifacts.sh
+++ b/ci/build-release-artifacts.sh
@@ -60,7 +60,7 @@ if [[ "$build" = *-min ]]; then
else
# For release builds the CLI is built a bit more feature-ful than the Cargo
# defaults to provide artifacts that can do as much as possible.
- bin_flags="--features all-arch,component-model,component-model-async"
+ bin_flags="--features all-arch,component-model"
fi
if [[ "$target" = "x86_64-pc-windows-msvc" ]]; then
diff --git a/crates/wasmtime/Cargo.toml b/crates/wasmtime/Cargo.toml
index 81ccc0e508..fd9c51f932 100644
--- a/crates/wasmtime/Cargo.toml
+++ b/crates/wasmtime/Cargo.toml
@@ -147,6 +147,7 @@ default = [
'debug-builtins',
'runtime',
'component-model',
+ 'component-model-async',
'threads',
'stack-switching',
'std',