-
Couldn't load subscription status.
- Fork 13.9k
Swap TargetOptions::linker_is_gnu default from false to true and update targets as appropriate. #85531
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…te targets as appropriate.
|
r? @estebank (rust-highfive has picked a reviewer for you, use r? to override) |
|
Could you also remove all the |
|
@bors r+ |
|
📌 Commit 3221a5e has been approved by |
|
Thanks @luqmana! |
|
☀️ Test successful - checks-actions |
|
One more regression from this - #85948. |
#85274 gated the
--gc-sectionsflag on targets that specifiedlinker_is_gnuto stop us from passing it to incompatible linkers. But that had the unintended effect of the flag no longer being passed on targets for which it is valid and hence caused a regression in binary size. Given that mostld-style linkers are GNU compatible, this change flips our default forlinker_is_gnufrom false to true. That also means updating the targets that relied on the previous default:Fixes #85519