-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Open
Labels
A-ltoArea: link-time optimizationArea: link-time optimizationC-bugCategory: bugCategory: bugO-windowsOS: WindowsOS: WindowsS-needs-infoStatus: Needs more info, such as a reproduction or more background for a feature request.Status: Needs more info, such as a reproduction or more background for a feature request.
Description
Problem
Cargo incorrectly uses -C linker-plugin-lto
to request bitcode only crates. That's not what -C linker-plugin-lto
is intended for. On Windows it has the additional effect of changing how crates a linked together, making it incorrect to mix crates not built with -C linker-plugin-lto
with ones which are.
This is a contributing factor to rust-lang/rust#127979.
Steps
No response
Possible Solution(s)
No response
Notes
No response
Version
No response
Metadata
Metadata
Assignees
Labels
A-ltoArea: link-time optimizationArea: link-time optimizationC-bugCategory: bugCategory: bugO-windowsOS: WindowsOS: WindowsS-needs-infoStatus: Needs more info, such as a reproduction or more background for a feature request.Status: Needs more info, such as a reproduction or more background for a feature request.