m0g3r opened PR #14130 from m0g3r:fix/14100-empty-component-debug-info to bytecodealliance:main:
Fixes #14100.
generate_simulated_dwarf unwrapped the first core-module translation to name its compilation unit, but a component with no core modules has no translations, so
wasmtime compile -D debug-info=ypanicked on a valid(component)input. Return early instead: with no translations there are no functions to describe.
m0g3r requested wasmtime-compiler-reviewers for a review on PR #14130.
m0g3r requested fitzgen for a review on PR #14130.
m0g3r requested wasmtime-core-reviewers for a review on PR #14130.
:thumbs_up: fitzgen submitted PR review:
Thanks!
fitzgen added PR #14130 Fix panic compiling an empty component with debug info to the merge queue.
:check: fitzgen merged PR #14130.
fitzgen removed PR #14130 Fix panic compiling an empty component with debug info from the merge queue.
Last updated: Aug 30 2026 at 09:07 UTC