Stream: git-wasmtime

Topic: wasmtime / PR #13376 Add `deserialize_boxed_slice` helper...


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

fitzgen opened PR #13376 from fitzgen:deserialize-boxed-slice to bytecodealliance:main:

…rialization

Extract a shared deserialize_boxed_slice function that deserializes into a TryVec first (which uses fallible allocation) and then converts to Box<[T]>. Apply it to WasmFuncType::params_results (replacing the previous inline method), WasmExnType::fields, WasmStructType::fields, WasmRecGroup::types, and TableSegmentElements variants.

<!--
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 (May 15 2026 at 00:36):

fitzgen requested dicej for a review on PR #13376.

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

fitzgen requested wasmtime-core-reviewers for a review on PR #13376.

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

:thumbs_up: alexcrichton submitted PR review.

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

alexcrichton added PR #13376 Add deserialize_boxed_slice helper for OOM-handling Box<[T]> dese… to the merge queue.

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

:check: alexcrichton merged PR #13376.

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

alexcrichton removed PR #13376 Add deserialize_boxed_slice helper for OOM-handling Box<[T]> dese… from the merge queue.


Last updated: Jun 01 2026 at 09:49 UTC