Closed
Description
After #53356, all Rust binaries fail to link when using ThinLTO on Fuchsia (at least, all the admittedly non-minimal examples I have tried do). The full error is here. TL;DR: ld.lld: error: undefined symbol: _$LT$$u5b$A$u5d$$u20$as$u20$core..slice..SlicePartialEq$LT$A$GT$$GT$::equal::hcbd9a5cdc751fed8
.
Most binaries mentioned PartialEq
-related things as the symbol that was failing to link, which is maybe coincidental (due to the order in which function references occur or something) but I figured it was worth mentioning.
The error does not occur before #53356, and does not occur even post-#53356 when disabling LTO or using fat LTO.