rust/compiler/rustc_monomorphize/src
Matthias Krüger 646d627661
Rollup merge of #118693 - saethlin:alignment-check-symbol-reachable, r=bjorn3
Tell MirUsedCollector that the pointer alignment checks calls its panic symbol

Fixes https://github.com/rust-lang/rust/pull/118683 (not an issue, but that PR is a basically a bug report)

When we had `panic_immediate_abort` start adding `#[inline]` to this panic function, builds started breaking because we failed to write up the MIR assert terminator to the correct panic shim. Things happened to work before by pure luck because without this feature enabled, the function we're inserting calls to is `#[inline(never)]` so we always generated code for it.

r? bjorn3
2023-12-08 06:44:42 +01:00
..
collector.rs Rollup merge of #118693 - saethlin:alignment-check-symbol-reachable, r=bjorn3 2023-12-08 06:44:42 +01:00
errors.rs Remove UnknownPartitionStrategy error. 2023-10-18 14:42:58 +11:00
lib.rs Use rustc_fluent_macro::fluent_messages! directly. 2023-11-26 08:38:40 +11:00
partitioning.rs Fix clippy::needless_borrow in the compiler 2023-11-21 20:13:40 +01:00
polymorphize.rs merge DefKind::Coroutine into DefKind::Closure 2023-11-26 21:05:08 +08:00
util.rs subst -> instantiate 2023-09-26 09:37:55 +02:00