I've been wondering why "-Z time-passes" can show "LTO passes" lines even when LTO is not enabled? It's disabled by default, right?
I've seen them here - https://wiki.alopex.li/WhereRustcSpendsItsTime. And I'm seeing lots of them on a toy program where they even take significant time (~25% if I interpret the results correctly).
It's disabled by default, right?
Ok, I was wrong here, some LTO is performed by default in optimized builds when number of codegen units > 1.