diff --git a/component-model/src/language-support/building-a-simple-component/c.md b/component-model/src/language-support/building-a-simple-component/c.md index 953deaac..f4be2114 100644 --- a/component-model/src/language-support/building-a-simple-component/c.md +++ b/component-model/src/language-support/building-a-simple-component/c.md @@ -95,9 +95,9 @@ that is, code which fulfills the definition of the interface function declared i ## 4. Compile a WebAssembly Preview 2 component with `wasi-sdk`'s `wasm32-wasip2-clang` -"P1" refers to [WASI Preview 1](https://github.com/WebAssembly/WASI/blob/main/legacy/README.md), +"P1" refers to [WASI Preview 1](https://github.com/WebAssembly/WASI/tree/wasi-0.1), the initial version of the WASI APIs. -"P2" refers to [WASI Preview 2](https://github.com/WebAssembly/WASI/blob/main/wasip2/README.md), +"P2" refers to [WASI Preview 2](https://github.com/WebAssembly/WASI/blob/main/docs/Preview2.md), which introduced the component model. While in the past building a P2 component required conversion from a P1 component, diff --git a/component-model/src/reference/faq.md b/component-model/src/reference/faq.md index 149f703f..0d139951 100644 --- a/component-model/src/reference/faq.md +++ b/component-model/src/reference/faq.md @@ -79,9 +79,9 @@ expect to access—WASI enables building interfaces on top of a shared standard ## Q: I see the terms Preview 1 and Preview 2 frequently. What do those refer to? -Preview 1 refers to [the first iteration of the Component Model](https://github.com/WebAssembly/WASI/tree/main/legacy) +Preview 1 refers to [the first iteration of the Component Model](https://github.com/WebAssembly/WASI/tree/wasi-0.1) which was based on WITX and is now deprecated. -Preview 2 refers to [a newer iteration of the Component Model](https://github.com/WebAssembly/WASI/tree/main/wasip2) +Preview 2 refers to [a newer iteration of the Component Model](https://github.com/WebAssembly/WASI/blob/main/docs/Preview2.md) which uses WebAssembly Interface Types (WIT). Many programming language toolchains may only support Preview 1 components natively, diff --git a/component-model/src/reference/useful-links.md b/component-model/src/reference/useful-links.md index e7b63c42..8cb2d6b2 100644 --- a/component-model/src/reference/useful-links.md +++ b/component-model/src/reference/useful-links.md @@ -10,7 +10,7 @@ The following references are helpful in understanding the Component Model and re - [Canonical ABI][canonical-abi] [wasm-cm-repo]: https://github.com/WebAssembly/component-model -[wasi-p2]: https://github.com/WebAssembly/WASI/tree/main/wasip2 +[wasi-p2]: https://github.com/WebAssembly/WASI/blob/main/docs/Preview2.md [ast-explainer]: https://github.com/WebAssembly/component-model/blob/main/design/mvp/Explainer.md [canonical-abi]: https://github.com/WebAssembly/component-model/blob/main/design/mvp/CanonicalABI.md [wac]: https://github.com/bytecodealliance/wac