fitzgen opened PR #13375 from fitzgen:try-btree-map-for-passive-segments to bytecodealliance:main:
Add Serialize, Deserialize, and Debug impls to TryBTreeMap, then switch Module's passive_elements_map and passive_data_map from std BTreeMap to TryBTreeMap so their insertions during module translation can propagate OOM instead of aborting.
<!--
Please make sure you include the following information:
If this work has been discussed elsewhere, please include a link to that
conversation. If it was discussed in an issue, just mention "issue #...".Explain why this change is needed. If the details are in an issue already,
this can be brief.Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.htmlPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
fitzgen requested dicej for a review on PR #13375.
fitzgen requested wasmtime-core-reviewers for a review on PR #13375.
:thumbs_up: alexcrichton submitted PR review.
alexcrichton added PR #13375 Use TryBTreeMap for Module passive element and data maps to the merge queue.
:check: alexcrichton merged PR #13375.
alexcrichton removed PR #13375 Use TryBTreeMap for Module passive element and data maps from the merge queue.
Last updated: Jun 01 2026 at 09:49 UTC