alexcrichton opened PR #10550 from alexcrichton:better-fiber-management to bytecodealliance:main:
Async suspension/resumption has to deal with saving state. Previously this done in both
AsyncWasmCallStateand inblock_on, meaning that there were two locations doing pretty similar things. The goal of this commit is to put all "restore the state of the world" logic in one location, so theFiberFuture::resumefunction now exclusively has all of the logic for saving/restoring state around execution of a fiber.<!--
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 ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
alexcrichton requested fitzgen for a review on PR #10550.
alexcrichton requested wasmtime-core-reviewers for a review on PR #10550.
abrown requested abrown for a review on PR #10550.
abrown submitted PR review.
alexcrichton merged PR #10550.
Last updated: Dec 06 2025 at 06:05 UTC