Light Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Support all garbage collector tests#2622

Open
zherczeg wants to merge 3 commits intoWebAssembly:mainfrom
zherczeg:gc_tests
Open

Support all garbage collector tests#2622
zherczeg wants to merge 3 commits intoWebAssembly:mainfrom
zherczeg:gc_tests

Conversation

Copy link
Collaborator

zherczeg commented Jun 27, 2025

This patch adds support for all tests in testsuite/proposals/gc. Two tests are still missing.

hoodmane and kevmoo reacted with heart emoji
zherczeg force-pushed the gc_tests branch 3 times, most recently from e973c0b to 2426298 Compare June 30, 2025 11:39
Copy link
Collaborator Author

zherczeg commented Jun 30, 2025

It looks like garbage collection tests are finally working. It took me 4 months, but the initial version of garbage collection support is completed. I think I understand the concept of references in WebAssembly, and know why it works that way. The code probably needs a lot of changes.

rossberg and Clashsoft reacted with thumbs up emoji

zherczeg force-pushed the gc_tests branch 3 times, most recently from 645b133 to 1917fb3 Compare July 9, 2025 10:20
matetokodi added a commit to matetokodi/walrus that referenced this pull request Jul 15, 2025
matetokodi added a commit to matetokodi/walrus that referenced this pull request Jul 16, 2025
from: https://github.com/zherczeg/wabt/tree/gc_tests (1917fb3)
WebAssembly/wabt#2622

Signed-off-by: Mate Tokodi mate.tokodi@szteszoftver.hu
matetokodi added a commit to matetokodi/walrus that referenced this pull request Jul 18, 2025
from: https://github.com/zherczeg/wabt/tree/gc_tests (1917fb3)
WebAssembly/wabt#2622

Signed-off-by: Mate Tokodi mate.tokodi@szteszoftver.hu
matetokodi added a commit to matetokodi/walrus that referenced this pull request Jul 22, 2025
from: https://github.com/zherczeg/wabt/tree/gc_tests (1917fb3)
WebAssembly/wabt#2622

Signed-off-by: Mate Tokodi mate.tokodi@szteszoftver.hu
matetokodi added a commit to matetokodi/walrus that referenced this pull request Jul 22, 2025
from: https://github.com/zherczeg/wabt/tree/gc_tests (1917fb3)
WebAssembly/wabt#2622

Signed-off-by: Mate Tokodi mate.tokodi@szteszoftver.hu
ksh8281 pushed a commit to Samsung/walrus that referenced this pull request Jul 31, 2025
bfredl added a commit to bfredl/forklift that referenced this pull request Nov 11, 2025
note: this requires a version of wabt which doesn't exist yet, see
WebAssembly/wabt#2622
zherczeg force-pushed the gc_tests branch 2 times, most recently from 46dac3d to 692da15 Compare February 4, 2026 10:08
zherczeg force-pushed the gc_tests branch from 692da15 to 4fc4a52 Compare March 5, 2026 11:30
Copy link

kevmoo commented Mar 5, 2026

So exciting to see this moving along!

Copy link
Collaborator Author

zherczeg commented Mar 5, 2026

Thank you! I try to update this patchset reguraly. The longer term aim is full wasm 3.0 support, but I also do some work on WebAssembly Components. Do you need this code for something?

Copy link

kevmoo commented Mar 5, 2026

I work with the dart2wasm team. We have our own wasm2wat impl for our output. I'd be awesome if we could use the default tools.

zherczeg force-pushed the gc_tests branch from 4fc4a52 to 94f7884 Compare March 7, 2026 05:45
Copy link

kevmoo commented Mar 7, 2026

If you want a sample file: https://bouncing.web.app/main.dart.wasm

zherczeg force-pushed the gc_tests branch from 94f7884 to 743218b Compare March 13, 2026 04:33
zherczeg added 3 commits March 13, 2026 05:24
This patch supports parsing the new GC types
- Abstract types
- Recursive types
- Composite types

The patch also improves type comparison.
zherczeg force-pushed the gc_tests branch from 743218b to 595a459 Compare March 13, 2026 06:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants