fitzgen opened PR #12953 from fitzgen:async-oom-tests to bytecodealliance:main:
<!--
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 #12953.
fitzgen requested wasmtime-fuzz-reviewers for a review on PR #12953.
alexcrichton submitted PR review.
alexcrichton created PR review comment:
There's a
crate::block_onfunction which may help replace this
alexcrichton created PR review comment:
I find the manipulation of
OomStatea bit confusing here, would it be possible to changeScopedOomStateto take&mut OomStateand hold on to it? That way it could mutate in-place and the management here would be (a) createScopedOomStatebeforepolland (b) drop it afterpoll.For example I would expect this to be
self.state = guard.finish(), and otherwise duringPendingbelow it seems that the manualset_oom_statethere is reading stale state sincefinishhere already took the state.
alexcrichton created PR review comment:
s/impl Fn() -> F/impl AsyncFn() -> Result<()>/
alexcrichton created PR review comment:
Stray changes?
fitzgen updated PR #12953.
fitzgen has enabled auto merge for PR #12953.
fitzgen added PR #12953 Add support for async tests to our OOM test infrastructure to the merge queue.
fitzgen merged PR #12953.
fitzgen removed PR #12953 Add support for async tests to our OOM test infrastructure from the merge queue.
Last updated: Apr 12 2026 at 23:10 UTC