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=<try>
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. \(^▽^)/
I will test the following issues later to verify. The task format is `Fixes {issue} {nightly-2023-07-20 result} {PR rust-lang#113923 result}`.
- [x] Fixesrust-lang#72140. ❌ ✅
- [x] Fixesrust-lang#112245. ❌ ✅
- [x] Fixesrust-lang#110606. ❌ ✅
- [ ] Fixesrust-lang#105734.
- [ ] Fixesrust-lang#96486.
- [ ] Fixesrust-lang#108853.
- [x] Fixesrust-lang/compiler-builtins#347. ❌ ✅
- [ ] Fixesrust-lang#108893.
- [ ] Fixesrust-lang#78744. Fixesrust-lang#91158. Fixesrust-lang/cargo#10118.
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