Skip to content

Commit 4e5a98a

Browse files
committed
Fix link, add missing example in Linking.md
1 parent 8b39031 commit 4e5a98a

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

design/mvp/Linking.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -156,10 +156,10 @@ component, the linkage within a single box forms a Directed Acyclic Graph (DAG).
156156
With simpler "first-order" shared-nothing linking, the definitions of parent
157157
components like `P` only contain component-level "linking" definitions
158158
(like `import`, `export`, `alias`, `instance`) and not any Core WebAssembly
159-
"implementation" definitions (like `canon lift` and `canon lower`). Thus `P`
160-
disappears at runtime, with the compiler baking all of `P`'s linkage information
161-
into the generated code and metadata. However, there is nothing to prevent
162-
parent components from including *both* "linking" and "implementation"
159+
"implementation" definitions (like `module`, `canon lift` and `canon lower`).
160+
Thus `P` disappears at runtime, with the compiler baking all of `P`'s linkage
161+
information into the generated code and metadata. However, there is nothing to
162+
prevent parent components from including *both* "linking" and "implementation"
163163
definitions.
164164

165165
For example, a parent component `Q` can link a child component `C` to its own
@@ -323,6 +323,7 @@ post-Preview 2 features of WIT and the Component Model.)
323323
[`depname`]: Explainer.md#import-and-export-definitions
324324
[`hashname`]: Explainer.md#import-and-export-definitions
325325
[Component Invariant]: Explainer.md#component-invariants
326+
[ESM-integration]: Explainer.md#esm-integration
326327

327328
[WebAssembly/tool-conventions]: https://github.com/WebAssembly/tool-conventions
328329
[WebAssembly Object File]: https://github.com/WebAssembly/tool-conventions/blob/main/Linking.md

0 commit comments

Comments
 (0)