alexcrichton opened PR #14665 from alexcrichton:cancel-cancel-again to bytecodealliance:main:
Blocking cancellation is only possible with host primitives at this time, so this can't be tested in
*.wast, but cancelling a future or stream while there is already a pending and acknowledge cancellation is a trap in the component model. Previously Wasmtime silently accepted multiple cancellation requests.<!--
Please make sure you include the following information:
If this work has been discussed elsewhere, please include a link to that
conversation. If it was discussed in an issue, just mention "issue #...".Explain why this change is needed. If the details are in an issue already,
this can be brief.Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.htmlPlease review the Bytecode Alliance's AI tool usage policy at
https://github.com/bytecodealliance/governance/blob/main/AI_TOOL_POLICY.mdPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
alexcrichton requested dicej for a review on PR #14665.
alexcrichton requested wasmtime-core-reviewers for a review on PR #14665.
:thumbs_up: dicej submitted PR review.
alexcrichton updated PR #14665.
alexcrichton has enabled auto merge for PR #14665.
alexcrichton added PR #14665 Fix cancelling a future/stream while cancellation is in progress to the merge queue.
github-merge-queue[bot] removed PR #14665 Fix cancelling a future/stream while cancellation is in progress from the merge queue.
alexcrichton updated PR #14665.
alexcrichton has enabled auto merge for PR #14665.
alexcrichton added PR #14665 Fix cancelling a future/stream while cancellation is in progress to the merge queue.
:check: alexcrichton merged PR #14665.
alexcrichton removed PR #14665 Fix cancelling a future/stream while cancellation is in progress from the merge queue.
Last updated: Oct 31 2026 at 23:03 UTC