fitzgen opened PR #13051 from fitzgen:oom-test-for-resource-drop-async to bytecodealliance:main:
Convert several infallible allocations to fallible alternatives:
- HandleTable::slots: Vec<Slot> -> TryVec<Slot>
- HostResourceData::table_slot_metadata: Vec<TableSlot> -> TryVec<TableSlot>
Resource type tracking: PrimaryMap<ResourceIndex, ResourceType> ->
TryPrimaryMap across vm/component.rs, instance.rs, matching.rs,
types.rs, component.rs, and linker.rsBacktrace trace_through_continuations: remove Vec::collect() calls, iterate directly to avoid allocation
- catch_traps: Box::new(Trap) -> try_new::<Box<_>>(Trap)
<!--
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 alexcrichton for a review on PR #13051.
fitzgen requested wasmtime-fuzz-reviewers for a review on PR #13051.
fitzgen requested wasmtime-core-reviewers for a review on PR #13051.
github-actions[bot] added the label wasmtime:api on PR #13051.
github-actions[bot] added the label fuzzing on PR #13051.
github-actions[bot] commented on PR #13051:
Subscribe to Label Action
cc @fitzgen
<details>
This issue or pull request has been labeled: "fuzzing", "wasmtime:api"Thus the following users have been cc'd because of the following labels:
- fitzgen: fuzzing
To subscribe or unsubscribe from this label, edit the <code>.github/subscribe-to-label.json</code> configuration file.
Learn more.
</details>
alexcrichton submitted PR review.
alexcrichton added PR #13051 Add OOM test for component ResourceAny::resource_drop_async to the merge queue
github-merge-queue[bot] removed PR #13051 Add OOM test for component ResourceAny::resource_drop_async from the merge queue
Last updated: Apr 12 2026 at 23:10 UTC