Stream: git-wasmtime

Topic: wasmtime / PR #13366 Add support for lowering directly fr...


view this post on Zulip Wasmtime GitHub notifications bot (May 14 2026 at 15:45):

sunfishcode opened PR #13366 from sunfishcode:sunfishcode/lower-bytes to bytecodealliance:main:

Add a "component-model-bytes" feature which enables implementations of ComponentType and Lower for the Bytes type, from the bytes crate.

These will allow optimizing functions that return list<u8> to return Bytes values without converting them to Vec<u8> first.

Zulip thread: #wasmtime > Optimizing `list<u8>` returns in hostcalls @ 💬

view this post on Zulip Wasmtime GitHub notifications bot (May 14 2026 at 15:45):

sunfishcode requested pchickey for a review on PR #13366.

view this post on Zulip Wasmtime GitHub notifications bot (May 14 2026 at 15:45):

sunfishcode requested wasmtime-core-reviewers for a review on PR #13366.

view this post on Zulip Wasmtime GitHub notifications bot (May 14 2026 at 15:53):

: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.

view this post on Zulip Wasmtime GitHub notifications bot (May 14 2026 at 15:56):

: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?

view this post on Zulip Wasmtime GitHub notifications bot (May 14 2026 at 17:18):

github-actions[bot] added the label wasmtime:api on PR #13366.


Last updated: Jun 01 2026 at 09:49 UTC