Skip to content

[Stack Switching] Ignore attempts to stash resume info for suspends without a continuation#7819

Merged
kripken merged 1 commit intoWebAssembly:mainfrom
kripken:cont.block
Aug 13, 2025
Merged

[Stack Switching] Ignore attempts to stash resume info for suspends without a continuation#7819
kripken merged 1 commit intoWebAssembly:mainfrom
kripken:cont.block

Conversation

@kripken
Copy link
Copy Markdown
Member

@kripken kripken commented Aug 13, 2025

When there is no continuation (we are not running in one), then a
suspend will lead to a trap on the host side, of "unhandled
suspend". We do need to make sure not to error on the way, so
any attempt to save resume info must be skipped.

Spec tests did not catch this because they did not have an
enclosing block, and the block tries to save resume info.

@kripken kripken requested a review from tlively August 13, 2025 00:02
@kripken kripken merged commit cdda336 into WebAssembly:main Aug 13, 2025
16 checks passed
@kripken kripken deleted the cont.block branch August 13, 2025 16:48
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