-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Don't overwrite CodegenFnAttrs when adding used compiler/linker #99676
Conversation
r? @lcnr (rust-highfive has picked a reviewer for you, use r? to override) |
@bors r+ |
(oops, the other comments weren't visible at first, was gonna r+ to help out) |
@bors p=1 Fixes issues on multiple platforms. |
☀️ Test successful - checks-actions |
Finished benchmarking commit (530c0a8): comparison url. Instruction count
Max RSS (memory usage)Results
CyclesResults
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression Footnotes |
Pointed out by @tmiasko in #93718 (comment). Probably a better fix than #99674 for #99596, assuming it does fix the latter.
I don't have the ability to write a regression test for this at the moment, and am quite surprised this didn't cause other failures. The old code is clearly wrong though, but I'm not picky as to which of these is better to go with.