Cargo incorrectly uses -C linker-plugin-lto
to request bitcode only crates
#14575
Labels
A-lto
Area: link-time optimization
C-bug
Category: bug
O-windows
OS: Windows
S-needs-info
Status: Needs more info, such as a reproduction or more background for a feature request.
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
The text was updated successfully, but these errors were encountered: