You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto merge of rust-lang#113923 - DianQK:restore-no-builtins-lto, r=pnkfelix
Restore `#![no_builtins]` crates participation in LTO.
After rust-lang#113716, we can make `#![no_builtins]` crates participate in LTO again.
`#![no_builtins]` with LTO does not result in undefined references to the error. I believe this type of issue won't happen again.
Fixesrust-lang#72140. Fixesrust-lang#112245. Fixesrust-lang#110606. Fixesrust-lang#105734. Fixesrust-lang#96486. Fixesrust-lang#108853. Fixesrust-lang#108893. Fixesrust-lang#78744. Fixesrust-lang#91158. Fixesrust-lang/cargo#10118. Fixesrust-lang/compiler-builtins#347.
The `nightly-2023-07-20` version does not always reproduce problems due to changes in compiler-builtins, core, and user code. That's why this issue recurs and disappears.
Some issues were not tested due to the difficulty of reproducing them.
r? pnkfelix
cc `@bjorn3` `@japaric` `@alexcrichton` `@Amanieu`
0 commit comments