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

feat: Upgrade to libbinaryen v102 #120

Merged
merged 9 commits into from Jan 26, 2022
Merged

feat: Upgrade to libbinaryen v102 #120

merged 9 commits into from Jan 26, 2022

Conversation

phated
Copy link
Member

@phated phated commented Jan 14, 2022

This upgrades libbinaryen to v102 (using a resolution from grain-lang/libbinaryen#28).

We need to update our bindings so they work with this new version. cc @ospencer to help with the C bindings.

@phated
Copy link
Member Author

phated commented Jan 14, 2022

Here's the diff between version_101 and version_102: WebAssembly/binaryen@version_101...version_102

I believe I touched on the big changes, but still want @ospencer to review the diff to see if we should be adding anything else.

@phated
Copy link
Member Author

phated commented Jan 14, 2022

The opam builds should fail, but esy should pass (which will highlight that the libbinaryen patch is working).

@phated
Copy link
Member Author

phated commented Jan 14, 2022

We're not going to be merging it, but I wanted to ensure that the native implementation was working when linked into Grain (since it has a much larger test suite). I pushed that branch to https://github.com/grain-lang/grain/tree/phated/binaryen_102

Copy link
Member

@ospencer ospencer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks really good! Table type being a BinaryenType seems really weird (but that's not on us 🙂 )

binaryen.opam Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
@phated phated marked this pull request as ready for review January 16, 2022 17:19
@phated phated merged commit 5c50272 into master Jan 26, 2022
@phated phated deleted the phated/libbinaryen_102 branch January 26, 2022 02:35
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.

None yet

2 participants