Skip to content

fix: remap type indices of {stream,future}.cancel-{read,write} - #2615

Merged
alexcrichton merged 1 commit into
bytecodealliance:mainfrom
rvolosatovs:fix/reencode-component-type-index
Aug 21, 2026
Merged

fix: remap type indices of {stream,future}.cancel-{read,write}#2615
alexcrichton merged 1 commit into
bytecodealliance:mainfrom
rvolosatovs:fix/reencode-component-type-index

Conversation

@rvolosatovs

Copy link
Copy Markdown
Member

The ty operand of the four {stream,future}.cancel-{read,write} intrinsics was passed straight from wasmparser to wasm-encoder in parse_component_canonical, bypassing the component_type_index remap hook that every other type-carrying canonical function goes through.

The `ty` operand of the four `{stream,future}.cancel-{read,write}`
intrinsics was passed straight from `wasmparser` to `wasm-encoder` in
`parse_component_canonical`, bypassing the `component_type_index` remap
hook that every other type-carrying canonical function goes through.

Assisted-by: claude:claude-fable-5
Signed-off-by: Roman Volosatovs <rvolosatovs@riseup.net>
@rvolosatovs
rvolosatovs requested a review from a team as a code owner August 21, 2026 17:40
@rvolosatovs
rvolosatovs requested review from pchickey and removed request for a team August 21, 2026 17:40
@alexcrichton
alexcrichton added this pull request to the merge queue Aug 21, 2026
Merged via the queue into bytecodealliance:main with commit a7ef477 Aug 21, 2026
37 checks passed
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.

3 participants