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
This flag, the link-time code generation flag, informs the linker that it can
call the compiler to perform whole program optimization. We don't actually take
advantage of this for Rust code itself (as we have LLVM as our backend), but
native libraries typically compile for whole program optimization and then
require this flag to be passed to the linker so they can be successfully linked
together.
This shouldn't slow the linker down for Rust code itself, just help perform
LTCG on native code being linked in which requires it.
0 commit comments