Skip to content

Fix immediate yield in block_on - #1719

Merged
alexcrichton merged 1 commit into
bytecodealliance:mainfrom
alexcrichton:fix-panic
Sep 24, 2026
Merged

alexcrichton merged 1 commit into
bytecodealliance:mainfrom
alexcrichton:fix-panic

Conversation

@alexcrichton

Copy link
Copy Markdown
Member

Don't re-poll the waitable set when it already happened internally, which fixes a panic.

Closes #1718

Don't re-poll the waitable set when it already happened internally,
which fixes a panic.

Closes bytecodealliance#1718
@alexcrichton
alexcrichton added this pull request to the merge queue Sep 24, 2026
Merged via the queue into bytecodealliance:main with commit fa2571c Sep 24, 2026
29 checks passed
@alexcrichton
alexcrichton deleted the fix-panic branch September 24, 2026 16:06
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.

rust: block_on panics if the future yields before any waitable is registered

2 participants