alexcrichton requested adamrk for a review on PR #14554.
alexcrichton opened PR #14554 from alexcrichton:fix-materialize to bytecodealliance:main:
This commit fixes an issue where it was possible to hit a
bail_bug!for certain signatures of host functions which receive multiple resources. The problem is that when a host task is materialized it doesn't update all active resource scopes to the new scope, only theConcurrentState. This is detected later when resources are moved through lifting/lowering to learn that a task has been materialized.<!--
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 review the Bytecode Alliance's AI tool usage policy at
https://github.com/bytecodealliance/governance/blob/main/AI_TOOL_POLICY.mdPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
alexcrichton requested cfallin for a review on PR #14554.
alexcrichton requested wasmtime-core-reviewers for a review on PR #14554.
github-actions[bot] added the label wasmtime:api on PR #14554.
:thumbs_up: adamrk submitted PR review:
Thanks!
adamrk added PR #14554 Fix a bail_bug! with deferred host tasks to the merge queue.
:check: adamrk merged PR #14554.
adamrk removed PR #14554 Fix a bail_bug! with deferred host tasks from the merge queue.
Last updated: Oct 11 2026 at 04:10 UTC