Skip to content

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

docs: list component-model-async as a tier 1 feature (#14622)

Roman Volosatovsa06130973d99
diff --git a/crates/wasmtime/src/config.rs b/crates/wasmtime/src/config.rs
index 3bfe294c9d..6005fb7542 100644
--- a/crates/wasmtime/src/config.rs
+++ b/crates/wasmtime/src/config.rs
@@ -1302,8 +1302,10 @@ impl Config {
/// lifting and lowering functions, as well as `stream`, `future`, and
/// `error-context` types.
///
- /// Please note that Wasmtime's support for this feature is _very_
- /// incomplete.
+ /// The default value for this option is whether the `component-model-async`
+ /// crate feature of Wasmtime is enabled or not. By default this crate
+ /// feature is enabled. This option is also disabled by default if
+ /// [`Config::concurrency_support`] is disabled.
///
/// [proposal]:
/// https://github.com/WebAssembly/component-model/blob/main/design/mvp/Concurrency.md
diff --git a/docs/stability-tiers.md b/docs/stability-tiers.md
index 69d6a4098a..aca5fb810f 100644
--- a/docs/stability-tiers.md
+++ b/docs/stability-tiers.md
@@ -35,6 +35,7 @@ For explanations of what each tier means see below.
| WebAssembly Proposal | [`reference-types`] |
| WebAssembly Proposal | [`simd`] |
| WebAssembly Proposal | [`component-model`] |
+| WebAssembly Proposal | [`component-model-async`] |
| WebAssembly Proposal | [`relaxed-simd`] |
| WebAssembly Proposal | [`multi-memory`] |
| WebAssembly Proposal | [`tail-call`] |
@@ -99,6 +100,7 @@ For explanations of what each tier means see below.
[`multi-memory`]: https://github.com/WebAssembly/multi-memory/blob/master/proposals/multi-memory/Overview.md
[`threads`]: https://github.com/WebAssembly/threads
[`component-model`]: https://github.com/WebAssembly/component-model/blob/main/design/mvp/Explainer.md
+[`component-model-async`]: https://github.com/WebAssembly/component-model/blob/main/design/mvp/Concurrency.md
[`relaxed-simd`]: https://github.com/WebAssembly/relaxed-simd/blob/main/proposals/relaxed-simd/Overview.md
[`wide-arithmetic`]: https://github.com/WebAssembly/wide-arithmetic/blob/main/proposals/wide-arithmetic/Overview.md
[`stack-switching`]: https://github.com/WebAssembly/stack-switching
@@ -225,6 +227,7 @@ by default and therefore supported as tier 1. The legend here is:
| [`reference-types`] | ✅ | ❌[^a] |
| [`simd`] | ✅ | ✅ |
| [`component-model`] | ✅ | ✅ |
+| [`component-model-async`] | ✅ | ✅ |
| [`relaxed-simd`] | ✅ | ❌ |
| [`multi-memory`] | ✅ | ✅ |
| [`threads`] | ✅ | ✅ |
@@ -250,6 +253,7 @@ by default and therefore supported as tier 1. The legend here is:
| [`reference-types`] | ✅ | ❌[^a] |
| [`simd`] | ✅ | ✅ |
| [`component-model`] | ✅ | ✅ |
+| [`component-model-async`] | ✅ | ✅ |
| [`relaxed-simd`] | ✅ | ❌ |
| [`multi-memory`] | ✅ | ✅ |
| [`threads`] | ✅ | ❌ |
@@ -275,6 +279,7 @@ by default and therefore supported as tier 1. The legend here is:
| [`reference-types`] | ✅ | ❌[^a] |
| [`simd`] | ✅ | ❌ |
| [`component-model`] | ✅ | ❌ |
+| [`component-model-async`] | ✅ | ❌ |
| [`relaxed-simd`] | ✅ | ❌ |
| [`multi-memory`] | ✅ | ❌ |
| [`threads`] | ✅ | ❌ |
@@ -300,6 +305,7 @@ by default and therefore supported as tier 1. The legend here is:
| [`reference-types`] | ✅ | ❌[^a] |
| [`simd`] | ✅ | ❌ |
| [`component-model`] | ✅ | ❌ |
+| [`component-model-async`] | ✅ | ❌ |
| [`relaxed-simd`] | ✅ | ❌ |
| [`multi-memory`] | ✅ | ❌ |
| [`threads`] | ✅ | ❌ |
@@ -330,6 +336,7 @@ emitting Pulley bytecode.
| [`reference-types`] | ✅ | ❌[^a] |
| [`simd`] | ✅ | ❌ |
| [`component-model`] | ✅ | ❌ |
+| [`component-model-async`] | ✅ | ❌ |
| [`relaxed-simd`] | ✅ | ❌ |
| [`multi-memory`] | ✅ | ❌ |
| [`threads`] | ❌[^b] | ❌ |