alexcrichton opened PR #11482 from alexcrichton:refactor-fuel-epoch-awaits to bytecodealliance:main:
Now that we have all this fancy support for natively running
asyncthings this commit refactors fuel/epochs to use it. This simplifies theVMStoretrait, removes a usage ofblock_on, and helps keep theasyncboundary close to the libcall entrypoint rather than further down the stack. This all in turn enables using rustc to check our stack-locals for non-Sendvalues instead of pinky promising that we're doing the right thing everywhere.<!--
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 #11482.
alexcrichton requested wasmtime-core-reviewers for a review on PR #11482.
alexcrichton updated PR #11482.
fitzgen submitted PR review.
alexcrichton updated PR #11482.
alexcrichton updated PR #11482.
alexcrichton has enabled auto merge for PR #11482.
alexcrichton merged PR #11482.
Last updated: Dec 06 2025 at 06:05 UTC