Skip to content

Tighten some feature gates in wasmparser - #2721

Merged
alexcrichton merged 1 commit into
bytecodealliance:mainfrom
alexcrichton:better-feature-gates
Oct 2, 2026
Merged

alexcrichton merged 1 commit into
bytecodealliance:mainfrom
alexcrichton:better-feature-gates

Conversation

@alexcrichton

Copy link
Copy Markdown
Member
  • Don't allow FuncExact in component alias sections
  • Don't allow GC encodings of types unless the GC proposal is enabled.
  • Gate the data-count section on bulk-memory.
  • Fix gates for values and their types in the component model.
  • Gate exact function imports.
  • Fix gating heap/reference type immediates on some instructions.

* Don't allow `FuncExact` in component alias sections
* Don't allow GC encodings of types unless the GC proposal is enabled.
* Gate the data-count section on bulk-memory.
* Fix gates for values and their types in the component model.
* Gate exact function imports.
* Fix gating heap/reference type immediates on some instructions.
@alexcrichton
alexcrichton requested a review from a team as a code owner October 1, 2026 21:58
@alexcrichton
alexcrichton requested review from dicej and removed request for a team October 1, 2026 21:58
@alexcrichton
alexcrichton added this pull request to the merge queue Oct 2, 2026
Merged via the queue into bytecodealliance:main with commit d4903a1 Oct 2, 2026
37 checks passed
@alexcrichton
alexcrichton deleted the better-feature-gates branch October 2, 2026 14:39
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.

2 participants