-
Notifications
You must be signed in to change notification settings - Fork 14k
linker: Remove -Zgcc-ld option
#116514
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
linker: Remove -Zgcc-ld option
#116514
Conversation
lqd
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r=me with the 2 nits fixed.
As well as:
- I don't believe we use the enum anymore and can also remove
rust/compiler/rustc_session/src/options.rs
Lines 1910 to 1913 in 7ca090f
#[derive(Clone, Copy, Hash)] pub enum LdImpl { Lld, } - and in turn of course remove and the
rust/compiler/rustc_session/src/config.rs
Line 3277 in 7ca090f
Option<LdImpl>, LdImplimport
|
(GH UI doing a poor job at showing review comments without duplicates ...) |
It is subsumed by `-Clinker-flavor=*-lld-cc -Clink-self-contained=+linker` options now
|
@bors r=lqd |
|
☀️ Test successful - checks-actions |
|
Finished benchmarking commit (ab039f7): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 624.124s -> 621.59s (-0.41%) |
|
Edit: it appears my issue is a bit more complex than it looks at a first glance (I'm debugging recent CI build issues at https://github.com/OptiVorbis/OptiVorbis/actions/runs/7120629253/job/19388265619). When using these flags through |
It is subsumed by
-Clinker-flavor=*-lld-cc -Clink-self-contained=+linkeroptions now.r? @lqd