about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/lib.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-07-25 02:46:36 +0000
committerbors <bors@rust-lang.org>2022-07-25 02:46:36 +0000
commit530c0a81d50c6e1c9b1bdee0970d27af02ca49be (patch)
tree21573187b262f43717e8b6bfcfed02ae9d079042 /compiler/rustc_codegen_llvm/src/lib.rs
parentbabff2211e3ae9ef52852dc1b01f3eacdd94c12e (diff)
parent6cfd471ffe997c56848d27e688dd8bd30f18412a (diff)
downloadrust-530c0a81d50c6e1c9b1bdee0970d27af02ca49be.tar.gz
rust-530c0a81d50c6e1c9b1bdee0970d27af02ca49be.zip
Auto merge of #99676 - thomcc:dont-overwrite, r=tmiasko
Don't overwrite CodegenFnAttrs when adding used compiler/linker

Pointed out by `@tmiasko` in https://github.com/rust-lang/rust/pull/93718#discussion_r928259163. Probably a better fix than https://github.com/rust-lang/rust/pull/99674 for https://github.com/rust-lang/rust/issues/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.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/lib.rs')
0 files changed, 0 insertions, 0 deletions