feat: update binaryen to v130#3026
Merged
Merged
Conversation
BlobMaster41
added a commit
to dacely-cloud/toilscript
that referenced
this pull request
Jun 19, 2026
…Script#3026) Brings in the single upstream commit upgrading binaryen 129 -> 130 (130.0.0-nightly.20260609). Most of it auto-merged. src/module.ts gains the v130 C-API bindings: wide-int add/sub and mul ops (i64.add128/sub128, i64.mul_wide_s/u), ensureFunctionTable(), and the renamed relaxed-SIMD / ref.as constants (RelaxedLaneselect*, AnyConvertExtern / ExternConvertAny). src/compiler.ts adopts upstream's lazy table declaration (declare the default table on first indirect use so binaryen's effect analysis sees it), alongside our closures path. Conflict: tests/compiler/assert-nonnull.release.wat, a generated fixture. Resolved by regenerating from our compiler rather than hand-merging. Our fork's abort wrapper (env.abort -> __abort_impl) is preserved; v130's improved effect analysis now drops the dead call_indirect in unreachable blocks and the resulting unused empty table, matching upstream's intent for this fixture. Regenerated and verified the auto-merged feature/relaxed-simd and ternary.release fixtures against our compiler output. Full npm test suite green (parser, compiler, browser, toilconfig, transform, cli, json, data). Pre-existing 'npm run check' lint failures are in untouched fork files and unrelated to this merge.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Also: