Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge with upstream #43

Merged
merged 5 commits into from
Jan 3, 2024
Merged

Merge with upstream #43

merged 5 commits into from
Jan 3, 2024

Conversation

dhil
Copy link
Member

@dhil dhil commented Jan 3, 2024

No description provided.

MendyBerger and others added 5 commits January 2, 2024 09:24
* wasmparser: Get more GC spec tests passing

Newly passing tests:

* `br_on_cast.wast`
* `br_on_cast_fail.wast`
* `struct.wast`

Newly implemented instructions:

* `struct.new`
* `struct.get`
* `struct.get_s`
* `struct.get_u`
* `struct.set`
* `br_on_cast`
* `br_on_cast_fail`

* wasmparser: Get all GC spec tests passing

The `extern.wast` test was already passing.

The `ref_eq.wast` test required implementing `ref.eq`, which is very simple.

And now all of the GC spec tests are passing!

* Review feedback
* Add parsing for `linking` custom section

* Document symbol linking flags

Upstream spec: https://github.com/WebAssembly/tool-conventions/blob/main/Linking.md

* Move `WASM_SYM_*` constants to the linking section

Which is more appropriate since they are defined upstream in `Linking.md` rather than `DynamicLinking.md`.

* Add access to subsections in linking section API

This provides a more obvious way to access subsections. It is easier to discover than the existing `IntoIterator` impl.

* Clone the iterator instead of returning mutable reference
@dhil dhil merged commit 9ef5618 into wasmfx:main Jan 3, 2024
6 checks passed
@dhil dhil deleted the wasmfx-merge branch January 3, 2024 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants