adamrk opened PR #15074 from adamrk:abk/DirectDestination-update-remaining to bytecodealliance:main:
Fix a bug in
DirectDestinationwhich is used when writing to a host-provided buffer from a future or stream: The implementation ofremainingforDirectDestinationshould return only the remaining part of the buffer (skipping what was already written to), but it always returned the full buffer. This allowed successive writes to overwrite previous ones.<!--
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 review the Bytecode Alliance's AI tool usage policy at
https://github.com/bytecodealliance/governance/blob/main/AI_TOOL_POLICY.mdPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
adamrk requested pchickey for a review on PR #15074.
adamrk removed the review request for wasmtime-core-reviewers from PR #15074.
adamrk requested wasmtime-core-reviewers for a review on PR #15074.
:thumbs_up: pchickey submitted PR review.
alexcrichton added PR #15074 component-model-async: Fix writes to DirectDestination to the merge queue.
github-actions[bot] added the label wasmtime:api on PR #15074.
:check: alexcrichton merged PR #15074.
alexcrichton removed PR #15074 component-model-async: Fix writes to DirectDestination from the merge queue.
Last updated: Oct 31 2026 at 23:03 UTC