Skip to content

Commit 242f5be

Browse files
fix(docs): repair WASI Preview 2 links
1 parent ac91350 commit 242f5be

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎component-model/src/introduction.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ A system or platform may expose some or all of the WASI APIs to components.
8282

8383
The current stable release of WASI is [WASI 0.2.0](https://github.com/WebAssembly/WASI/pull/577),
8484
which was released on January 25, 2024.
85-
WASI 0.2.0 is [a stable set of WIT definitions](https://github.com/WebAssembly/WASI/blob/main/docs/Preview2.md)
85+
WASI 0.2.0 is [a stable set of WIT definitions](https://github.com/WebAssembly/WASI/blob/wasi-0.2/docs/Preview2.md)
8686
that components can target.
8787
WASI proposals will continue to evolve and new ones will be introduced;
8888
however, users of the component model can now pin to any stable release >= `v0.2.0`.

‎component-model/src/language-support/building-a-simple-component/c.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ that is, code which fulfills the definition of the interface function declared i
9797
9898
"P1" refers to [WASI Preview 1](https://github.com/WebAssembly/WASI/tree/wasi-0.1),
9999
the initial version of the WASI APIs.
100-
"P2" refers to [WASI Preview 2](https://github.com/WebAssembly/WASI/blob/main/docs/Preview2.md),
100+
"P2" refers to [WASI Preview 2](https://github.com/WebAssembly/WASI/blob/wasi-0.2/docs/Preview2.md),
101101
which introduced the component model.
102102
103103
While in the past building a P2 component required conversion from a P1 component,

‎component-model/src/reference/faq.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ expect to access—WASI enables building interfaces on top of a shared standard
8181

8282
Preview 1 refers to [the first iteration of the Component Model](https://github.com/WebAssembly/WASI/tree/wasi-0.1)
8383
which was based on WITX and is now deprecated.
84-
Preview 2 refers to [a newer iteration of the Component Model](https://github.com/WebAssembly/WASI/blob/main/docs/Preview2.md)
84+
Preview 2 refers to [a newer iteration of the Component Model](https://github.com/WebAssembly/WASI/blob/wasi-0.2/docs/Preview2.md)
8585
which uses WebAssembly Interface Types (WIT).
8686
Preview 3 (WASI 0.3, released June 11, 2026) adds native async to the Component Model:
8787
`async func`, `stream<T>`, and `future<T>` are now Canonical ABI primitives, and the `wasi:io` package is removed.

‎component-model/src/reference/useful-links.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The following references are helpful in understanding the Component Model and re
1010
- [Canonical ABI][canonical-abi]
1111

1212
[wasm-cm-repo]: https://github.com/WebAssembly/component-model
13-
[wasi-p2]: https://github.com/WebAssembly/WASI/blob/main/docs/Preview2.md
13+
[wasi-p2]: https://github.com/WebAssembly/WASI/blob/wasi-0.2/docs/Preview2.md
1414
[ast-explainer]: https://github.com/WebAssembly/component-model/blob/main/design/mvp/Explainer.md
1515
[canonical-abi]: https://github.com/WebAssembly/component-model/blob/main/design/mvp/CanonicalABI.md
1616
[wac]: https://github.com/bytecodealliance/wac

0 commit comments

Comments
 (0)