Skip to content

feat: Upgrade to binaryen v0.37 - #2401

Open
spotandjake wants to merge 2 commits into
mainfrom
spotandjake/binaryen-37
Open

feat: Upgrade to binaryen v0.37#2401
spotandjake wants to merge 2 commits into
mainfrom
spotandjake/binaryen-37

Conversation

@spotandjake

Copy link
Copy Markdown
Member

This pr upgrades our binaryen.ml version from 0.35 to 0.37.

In binaryen.ml 0.36 we upgraded jsoo from 6.3 to 6.4 which forces us to update our cmdliner version to 2.0. This change broke the ppx_deriving_cmdliner module as it hasn't been updated in 4 years.

As such I dropped the library and instead of using the macros to generate our cmdliner terms we just write them manually, it's slightly more verbose but not to bad.

This pr also updates our optimization passes to follow binaryenes default ordering until we decide to diverge.

Comment thread compiler/src/codegen/optimize_mod.re Outdated
Comment thread compiler/src/utils/filepath.re Outdated
This pr upgrades our binaryen.ml version from `0.35` to `0.37`.

In binaryen.ml `0.36` we upgraded jsoo from `6.3` to `6.4` which forces us to update our cmdliner version to `2.0`. This change broke the `ppx_deriving_cmdliner` module as it hasn't been updated in 4 years.

As such I dropped the library and instead of using the macros to generate our cmdliner terms we just write them manually, it's slightly more verbose but not to bad.

This pr also updates our optimization passes to follow binaryenes default ordering until we decide to diverge.
@spotandjake
spotandjake force-pushed the spotandjake/binaryen-37 branch from a375715 to 7962341 Compare September 4, 2026 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants