alexcrichton opened PR #13908 from alexcrichton:reopen-instances to bytecodealliance:main:
Previously an instance within a linker had to be defined all-in-one go. This isn't the most ergonomic, however, and isn't compatible with situations where this may be partially defined over time. One example is in #13896 where the implementation of
define_unknown_imports_as_trapsmistakenly didn't work for components where instance were already defined. The goal of this commit is to make theLinkermore builder-like by supporting incremental definitions such that nothing ever stomps over previous definitions (unless shadowing is enabled).Closes #13896
<!--
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
-->
alexcrichton requested pchickey for a review on PR #13908.
alexcrichton requested wasmtime-core-reviewers for a review on PR #13908.
github-actions[bot] added the label wasmtime:api on PR #13908.
:thumbs_up: pchickey submitted PR review.
alexcrichton added PR #13908 Support re-opening a LinkerInstance in component::Linker to the merge queue
:check: alexcrichton merged PR #13908.
alexcrichton removed PR #13908 Support re-opening a LinkerInstance in component::Linker from the merge queue
Last updated: Jul 29 2026 at 05:03 UTC