Skip to content

Conversation

@spotandjake
Copy link
Member

This corrects most of the v124 wasm gc changes.

Notes:

  • We still need to figure out the JS APIs for callRef I can probably make a pr for those, though iirc @ospencer said they had the work done already.
  • I'm not sure I'm handling the typ parameter correctly on br_on_null, given that two of the cases do not take the typ parameter in the js api.
  • 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.

The js test are going to fail due to the callRef bindings.

@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.

@spotandjake spotandjake force-pushed the spotandjake/gc-additions branch from bce8908 to bf67f11 Compare December 13, 2025 17:46
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.

3 participants