Stream: git-wasmtime

Topic: wasmtime / PR #15125 Fix panics compiling module imports ...


view this post on Zulip Wasmtime GitHub notifications bot (Nov 02 2026 at 19:40):

alexcrichton opened PR #15125 from alexcrichton:fix-panic to bytecodealliance:main:

This commit fixes a possible panic when translating a component when a module is imported and uses rec-group-defined types. The problem is that a module type's imports and exports could refer to types which weren't previously intern'd and would cause problems upon reaching them.

The main fix for this was landed in wasmparser already to expose the core index space in module types, and that's now used to intern everything found. This ensures that all types are always available when doing type translation.

<!--
Please make sure you include the following information:

Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.html

Please review the Bytecode Alliance's AI tool usage policy at
https://github.com/bytecodealliance/governance/blob/main/AI_TOOL_POLICY.md

Please ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->

view this post on Zulip Wasmtime GitHub notifications bot (Nov 02 2026 at 19:40):

alexcrichton requested wasmtime-core-reviewers for a review on PR #15125.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 02 2026 at 19:40):

alexcrichton requested pchickey for a review on PR #15125.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 02 2026 at 19:40):

alexcrichton removed the review request for wasmtime-core-reviewers from PR #15125.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 02 2026 at 19:41):

:memo: alexcrichton submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 02 2026 at 19:41):

:speech_balloon: alexcrichton created PR review comment:

Note that with eager interning this is no longer necessary

view this post on Zulip Wasmtime GitHub notifications bot (Nov 03 2026 at 19:54):

:thumbs_up: pchickey submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 03 2026 at 20:02):

alexcrichton added PR #15125 Fix panics compiling module imports with rec groups to the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 03 2026 at 20:29):

:check: alexcrichton merged PR #15125.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 03 2026 at 20:29):

alexcrichton removed PR #15125 Fix panics compiling module imports with rec groups from the merge queue.


Last updated: Nov 19 2026 at 20:05 UTC