alexcrichton opened PR #15337 from alexcrichton:add-linker-docs to bytecodealliance:main:
This commit documents some of the interactions which can happen when a
Storeis dropped butLinker-defined items it referenced are still used. This could include panics or wrong type-checks becauseVMSharedTypeIndexes are no longer rooted. This is all benign however insofar as it's exclusively embedder-driven and additionally instantiation cannot succeed (that always requires same-store which will always fail).<!--
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 removed the review request for wasmtime-core-reviewers from PR #15337.
alexcrichton requested dicej for a review on PR #15337.
alexcrichton requested wasmtime-core-reviewers for a review on PR #15337.
:thumbs_up: pchickey submitted PR review.
alexcrichton added PR #15337 Document hazards of dropping a Store used in a Linker to the merge queue
:check: alexcrichton merged PR #15337.
alexcrichton removed PR #15337 Document hazards of dropping a Store used in a Linker from the merge queue
Last updated: Nov 19 2026 at 20:05 UTC