mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 02:33:55 +00:00
646d627661
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 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
messages.ftl |