Skip to content

feat: Implement wasm gc api#261

Open
spotandjake wants to merge 12 commits intooscar/gcfrom
spotandjake/gc-additions
Open

feat: Implement wasm gc api#261
spotandjake wants to merge 12 commits intooscar/gcfrom
spotandjake/gc-additions

Conversation

@spotandjake
Copy link
Member

@spotandjake spotandjake commented Dec 5, 2025

This corrects most of the v124 wasm gc changes.

Notes:

  • The buildAndDispose js api still doesn't handle any errors correctly, but I think we are going to need to decide on behaviour or change things downstream.

@spotandjake spotandjake requested a review from ospencer December 5, 2025 16:11
@spotandjake spotandjake self-assigned this Dec 5, 2025
@spotandjake
Copy link
Member Author

This pr technically closes #240 but we probably don't want to close that issue until merging the main pr.

@spotandjake spotandjake added the Api Issues or pull requests relating to implementing or modifying a binaryen api. label Dec 6, 2025
@spotandjake
Copy link
Member Author

The pr I put up to binaryen CallRef was merged 8103.

It should be released in Binaryen V126.

This just fixes some small todo's by using the js api where possible
@spotandjake spotandjake force-pushed the spotandjake/gc-additions branch from bce8908 to bf67f11 Compare December 13, 2025 17:46
@spotandjake spotandjake force-pushed the spotandjake/gc-additions branch from bf67f11 to 1eaa67d Compare January 23, 2026 19:18
@spotandjake spotandjake changed the title feat: Correct some of the wasm gc v124 bindings feat: Implement wasm gc api Mar 7, 2026
This pr also implements `Heap_type.set_type_name` and `Heap_type.set_field_name`
@spotandjake spotandjake force-pushed the spotandjake/gc-additions branch from 4fa93b2 to ad0025b Compare March 7, 2026 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Api Issues or pull requests relating to implementing or modifying a binaryen api.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants