alexcrichton opened PR #13664 from alexcrichton:refactor-future-stream-lift-lower to bytecodealliance:main:
This commit removes duplication between the
Instance::guest_transferfunction as well as thelift_{future,stream}_to_transmitandlower_transmit_to_{future,stream}functions. Notably the lift/lower functions had an additional check for futures whichguest_transferdid not contain, and now additionally there's just one definition of lifting/lowering as opposed to multiple.<!--
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 wasmtime-core-reviewers for a review on PR #13664.
alexcrichton unassigned pchickey from PR #13664 cm-async: Deduplicate/fix future/stream lift/lower.
alexcrichton requested dicej for a review on PR #13664.
alexcrichton requested pchickey for a review on PR #13664.
:thumbs_up: dicej submitted PR review.
alexcrichton added PR #13664 cm-async: Deduplicate/fix future/stream lift/lower to the merge queue.
:check: alexcrichton merged PR #13664.
alexcrichton removed PR #13664 cm-async: Deduplicate/fix future/stream lift/lower from the merge queue.
Last updated: Jul 29 2026 at 05:03 UTC