mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-04 03:07:25 +00:00

CFI: Make `lto` and `linker-plugin-lto` work the same for `compiler_builtins` Fix rust-lang/rust#142284 by ensuring that `#![no_builtins]` crates can still emit bitcode when proper (i.e., non-rustc) LTO (i.e., -Clinker-plugin-lto) is used.
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.