Skip to content

Don't cancel spawned rust tasks on component task cancel - #1743

Merged
alexcrichton merged 2 commits into
bytecodealliance:mainfrom
alexcrichton:only-cancel-root
Oct 13, 2026
Merged

alexcrichton merged 2 commits into
bytecodealliance:mainfrom
alexcrichton:only-cancel-root

Conversation

@alexcrichton

Copy link
Copy Markdown
Member

This commit updates the handling of EVENT_CANCEL to signal cancellation for the "root task" but nothing else. This differs from before where now spawned Rust tasks will continue executing to completion as they otherwise would, meaning that EVENT_CANCEL is only for the root computation not the entire set of tasks.

This commit updates the handling of `EVENT_CANCEL` to signal
cancellation for the "root task" but nothing else. This differs from
before where now spawned Rust tasks will continue executing to
completion as they otherwise would, meaning that `EVENT_CANCEL` is only
for the root computation not the entire set of tasks.
@alexcrichton
alexcrichton added this pull request to the merge queue Oct 13, 2026
Merged via the queue into bytecodealliance:main with commit 1559c82 Oct 13, 2026
29 checks passed
@alexcrichton
alexcrichton deleted the only-cancel-root branch October 13, 2026 19:36
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