Skip to content

Commit 5924d8e

Browse files
committed
Merge branch 'main' into union
2 parents 97f4032 + 8304ec2 commit 5924d8e

File tree

6 files changed

+356
-281
lines changed

6 files changed

+356
-281
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@ release.
88
In the future, this repository will additionally contain a [formal spec],
99
reference interpreter and test suite.
1010

11+
## Milestones
12+
13+
The Component Model is being incrementally developed and stabilized as part of
14+
the overall [WASI preview process]. The current contents of this repo reflect
15+
the "Preview 2" milestone. The "Preview 3" milestone will be primarily
16+
concerned with the addition of [async support].
17+
1118
## Contributing
1219

1320
All Component Model work is done as part of the [W3C WebAssembly Community Group].
@@ -26,3 +33,5 @@ To contribute to any of these repositories, see the Community Group's
2633
[formal spec]: spec/
2734
[W3C WebAssembly Community Group]: https://www.w3.org/community/webassembly/
2835
[Contributing Guidelines]: https://webassembly.org/community/contributing/
36+
[WASI preview process]: https://github.com/WebAssembly/meetings/blob/main/wasi/2023/presentations/2023-02-09-gohman-wasi-roadmap.pdf
37+
[Async Support]: https://docs.google.com/presentation/d/1MNVOZ8hdofO3tI0szg_i-Yoy0N2QPU2C--LzVuoGSlE/edit?usp=share_link

design/mvp/Binary.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,10 @@ Notes:
109109
to the actual type.
110110
* The indices in `sortidx` are validated according to their `sort`'s index
111111
spaces, which are built incrementally as each definition is validated.
112-
* Validation requires that all annotated `name`s only occur on `func` `export`s
113-
and that the `r` `label` matches the `name` of a preceding `resource` export.
112+
* Validation requires that annotated `name`s only occur on `func` imports or
113+
exports and that the `r:<label>` matches the `name` of a preceding `resource`
114+
import or export, respectively, in the same scope (component, component type
115+
or instance type).
114116
* Validation of `[constructor]` names requires that the `func` returns a
115117
`(result (own $R))`, where `$R` is the resource labeled `r`.
116118
* Validation of `[method]` names requires the first parameter of the function

0 commit comments

Comments
 (0)