Stream: git-wasmtime

Topic: wasmtime / PR #13378 Use fallible allocation for Wasm bac...


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

fitzgen opened PR #13378 from fitzgen:fallibe-alloc-wasm-backtrace to bytecodealliance:main:

Switch the internal vm::Backtrace to use TryVec instead of Vec, breaking out of frame collection on OOM instead of aborting. In the public WasmBacktrace, use TryVec::with_capacity and gracefully return an empty backtrace if the initial allocation fails, or break out of the loop if a push fails.

Truncated backtraces are better than aborting the process.

<!--
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:48):

fitzgen requested dicej for a review on PR #13378.

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

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

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

:thumbs_up: alexcrichton submitted PR review.

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

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

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

fitzgen updated PR #13378.

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

fitzgen has enabled auto merge for PR #13378.

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

fitzgen added PR #13378 Use fallible allocation for Wasm backtraces to the merge queue.

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

:check: fitzgen merged PR #13378.

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

fitzgen removed PR #13378 Use fallible allocation for Wasm backtraces from the merge queue.


Last updated: Jun 01 2026 at 09:49 UTC