Skip to content

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

chore: fix broken links (#12041)

MozirDmitriy696ef2cb64c6
diff --git a/crates/wasmtime/src/config.rs b/crates/wasmtime/src/config.rs
index e9879e3cef..fc74ad246c 100644
--- a/crates/wasmtime/src/config.rs
+++ b/crates/wasmtime/src/config.rs
@@ -1176,7 +1176,7 @@ impl Config {
/// incomplete.
///
/// [proposal]:
- /// https://github.com/WebAssembly/component-model/blob/main/design/mvp/Async.md
+ /// https://github.com/WebAssembly/component-model/blob/main/design/mvp/Concurrency.md
#[cfg(feature = "component-model-async")]
pub fn wasm_component_model_async(&mut self, enable: bool) -> &mut Self {
self.wasm_features(WasmFeatures::CM_ASYNC, enable);
@@ -1189,7 +1189,7 @@ impl Config {
/// incomplete.
///
/// [proposal]:
- /// https://github.com/WebAssembly/component-model/blob/main/design/mvp/Async.md
+ /// https://github.com/WebAssembly/component-model/blob/main/design/mvp/Concurrency.md
#[cfg(feature = "component-model-async")]
pub fn wasm_component_model_async_builtins(&mut self, enable: bool) -> &mut Self {
self.wasm_features(WasmFeatures::CM_ASYNC_BUILTINS, enable);
@@ -1201,7 +1201,7 @@ impl Config {
/// Please note that Wasmtime's support for this feature is _very_
/// incomplete.
///
- /// [proposal]: https://github.com/WebAssembly/component-model/blob/main/design/mvp/Async.md
+ /// [proposal]: https://github.com/WebAssembly/component-model/blob/main/design/mvp/Concurrency.md
#[cfg(feature = "component-model-async")]
pub fn wasm_component_model_async_stackful(&mut self, enable: bool) -> &mut Self {
self.wasm_features(WasmFeatures::CM_ASYNC_STACKFUL, enable);
@@ -1226,7 +1226,7 @@ impl Config {
/// Please note that Wasmtime's support for this feature is _very_
/// incomplete.
///
- /// [proposal]: https://github.com/WebAssembly/component-model/blob/main/design/mvp/Async.md
+ /// [proposal]: https://github.com/WebAssembly/component-model/blob/main/design/mvp/Concurrency.md
#[cfg(feature = "component-model")]
pub fn wasm_component_model_error_context(&mut self, enable: bool) -> &mut Self {
self.wasm_features(WasmFeatures::CM_ERROR_CONTEXT, enable);
diff --git a/crates/wasmtime/src/runtime/component/concurrent.rs b/crates/wasmtime/src/runtime/component/concurrent.rs
index c18273f87c..2d746ed171 100644
--- a/crates/wasmtime/src/runtime/component/concurrent.rs
+++ b/crates/wasmtime/src/runtime/component/concurrent.rs
@@ -3,7 +3,7 @@
//! This module and its submodules provide host runtime support for Component
//! Model Async features such as async-lifted exports, async-lowered imports,
//! streams, futures, and related intrinsics. See [the Async
-//! Explainer](https://github.com/WebAssembly/component-model/blob/main/design/mvp/Async.md)
+//! Explainer](https://github.com/WebAssembly/component-model/blob/main/design/mvp/Concurrency.md)
//! for a high-level overview.
//!
//! At the core of this support is an event loop which schedules and switches