How to handle pre-built linkers? #47
Labels
plan before stabilization
This needs a plan for how to address before stabilization, but does not need to be implemented.
S-needs-design
Status: needs design work
Some pre-built standard library targets include a copy of rust-lld or gcc to assist with linking. We should probably figure out if these should be considered.
I'm not sure how this should be approached to supporting these targets. Some possible ideas:
rust-lld
as a rustup component.I'm actually not sure what is special about
rust-lld
(does it deviate from stocklld
?). It may be easier for the user to install the reallld
, though there would need to be some way for cargo and rustc to know what to use, and provide good error messages if it is not installed.There is some more detail in #30 (comment).
The most unusual target is
x86_64-pc-windows-gnu
which ships gcc. I always find getting a working version of mingw a chore.The following targets appear to want to use
rust-lld
:The text was updated successfully, but these errors were encountered: