Implicit panic calls not collected during monomorphization #90405
Labels
A-codegen
Area: Code generation
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Implicit panic calls can be generated from
Assert
MIR terminator, but they are not collected during monomorphization. This means that link error will occur if the panic functions are not codegenned withcore
crate, e.g. when it is markedinline
.This causes breakage in rust-lang/cargo#10019 when #90273 changes the function to be inline if
panic_immediate_abort
is set and exposes this issue.The text was updated successfully, but these errors were encountered: