sunfishcode opened PR #13366 from sunfishcode:sunfishcode/lower-bytes to bytecodealliance:main:
Add a "component-model-bytes" feature which enables implementations of
ComponentTypeandLowerfor theBytestype, from thebytescrate.These will allow optimizing functions that return
list<u8>to returnBytesvalues without converting them toVec<u8>first.Zulip thread: #wasmtime > Optimizing `list<u8>` returns in hostcalls @ 💬
sunfishcode requested pchickey for a review on PR #13366.
sunfishcode requested wasmtime-core-reviewers for a review on PR #13366.
:thumbs_up: pchickey submitted PR review:
Thanks. This would be a nice optimization to apply to wasmtime-wasi-io by default, in a follow up PR.
:thumbs_up: pchickey submitted PR review:
Thanks. This would be a nice optimization to apply to wasmtime-wasi-io by default, in a follow up PR. As of now, it gets no CI testing, idk if we should add something for it in this PR or just count on it being tested via wasmtime-wasi-io in a follow up?
github-actions[bot] added the label wasmtime:api on PR #13366.
Last updated: Jun 01 2026 at 09:49 UTC