Stream: git-wasmtime

Topic: wasmtime / PR #15213 wasi: honor max_io_size in blocking ...


view this post on Zulip Wasmtime GitHub notifications bot (Nov 10 2026 at 13:04):

xia-chao opened PR #15213 from xia-chao:fix/blocking-write-max-io to bytecodealliance:main:

https://docs.rs/wasmtime-wasi/latest/wasmtime_wasi/struct.WasiCtxBuilder.html#method.max_io_size

blocking_write_and_flush writes the whole buffer at once. split it into max_io_size chunks so blocking writes match this documented limit.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 10 2026 at 13:04):

xia-chao removed the review request for wasmtime-wasi-reviewers from PR #15213.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 10 2026 at 13:04):

xia-chao requested dicej for a review on PR #15213.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 10 2026 at 13:04):

xia-chao requested wasmtime-wasi-reviewers for a review on PR #15213.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 10 2026 at 13:04):

xia-chao edited PR #15213:

https://docs.rs/wasmtime-wasi/latest/wasmtime_wasi/struct.WasiCtxBuilder.html#method.max_io_size

align with this; the current implementation doesn't.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 10 2026 at 15:44):

github-actions[bot] added the label wasi on PR #15213.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 10 2026 at 16:23):

alexcrichton commented on PR #15213:

The limitation of max_io_size is pretty broadly placing a limit on the size of the allocation made when copying between the guest and the host. Here, though, this is already host-allocated bytes so there's no real purpose in limiting it. Is there a missing clamp before this method is called though?

view this post on Zulip Wasmtime GitHub notifications bot (Nov 10 2026 at 16:42):

:cross_mark: xia-chao closed without merge PR #15213.


Last updated: Nov 19 2026 at 20:05 UTC