Stream: git-wasmtime

Topic: wasmtime / PR #12767 Consume hostcall fuel when buffering...


view this post on Zulip Wasmtime GitHub notifications bot (Mar 12 2026 at 21:07):

alexcrichton requested dicej for a review on PR #12767.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 12 2026 at 21:07):

alexcrichton requested wasmtime-core-reviewers for a review on PR #12767.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 12 2026 at 21:07):

alexcrichton opened PR #12767 from alexcrichton:hostcall-fuel-streams to bytecodealliance:main:

For guest-to-guest communication stream reads/writes rendezvousing together will currently copy data through Val. This is expected to become more optimized in the future, but for now this needs to consume the concept of "hostcall fuel" introduced in #12652 to ensure that the guest can't exhaust memory in the host. This additionally tweaks some hostcall fuel calculations to more accurately reflect the size of values on the host, notably by using size_of::<Thing>() on the host rather than the size in the guest.

Closes #12674

<!--
Please make sure you include the following information:

Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.html

Please ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->

view this post on Zulip Wasmtime GitHub notifications bot (Mar 12 2026 at 21:49):

dicej submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 12 2026 at 21:54):

alexcrichton added PR #12767 Consume hostcall fuel when buffering stream data in the host to the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 12 2026 at 22:19):

alexcrichton merged PR #12767.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 12 2026 at 22:19):

alexcrichton removed PR #12767 Consume hostcall fuel when buffering stream data in the host from the merge queue.


Last updated: Mar 23 2026 at 16:19 UTC