Skip to content

Fix funcref downcasts across import boundaries#13161

Merged
fitzgen merged 2 commits into
bytecodealliance:mainfrom
fitzgen:issue-13095
Apr 21, 2026
Merged

Fix funcref downcasts across import boundaries#13161
fitzgen merged 2 commits into
bytecodealliance:mainfrom
fitzgen:issue-13095

Conversation

@fitzgen

@fitzgen fitzgen commented Apr 21, 2026

Copy link
Copy Markdown
Member

This commit adds a type index to VMFunctionImport, basically making it a refinement of VMFuncRef that requires the wasm_call field be non-null.

Fixes #13095

This commit adds a type index to `VMFunctionImport`, basically making it a
refinement of `VMFuncRef` that requires the `wasm_call` field be non-null.

Fixes bytecodealliance#13095
@fitzgen fitzgen requested a review from a team as a code owner April 21, 2026 16:32
@fitzgen fitzgen requested review from pchickey and removed request for a team April 21, 2026 16:32

@alexcrichton alexcrichton left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

👍

@fitzgen fitzgen enabled auto-merge April 21, 2026 16:40
@fitzgen fitzgen added this pull request to the merge queue Apr 21, 2026
Merged via the queue into bytecodealliance:main with commit 9e351be Apr 21, 2026
48 checks passed
@fitzgen fitzgen deleted the issue-13095 branch April 21, 2026 17:21
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.

Spurious "indirect call type mismatch" trap when calling an imported function at its actual subtype

2 participants