about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/asm.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-05-05 03:56:26 +0000
committerbors <bors@rust-lang.org>2021-05-05 03:56:26 +0000
commit2d11e257945c710d406e77903764ad4b7a52bda5 (patch)
treee2cab8b96e4b75c1d22140b244b32eaf80f9e2d9 /compiler/rustc_codegen_llvm/src/asm.rs
parent45ccf910703fe7afee30cf223ed046ed2d2afb91 (diff)
parente40faeffa2d9e980778fb46973f8d0eb090526a9 (diff)
downloadrust-2d11e257945c710d406e77903764ad4b7a52bda5.tar.gz
rust-2d11e257945c710d406e77903764ad4b7a52bda5.zip
Auto merge of #84794 - ChrisDenton:dedup-native-libs, r=petrochenkov
Deduplicate native libs before they are passed to the linker

Stop spamming the linker with the same native library over and over again, if they directly follow from each other. This would help prevent [this situation](https://github.com/MSxDOS/ntapi/issues/2).

Issue #38460 has been open since 2016 so I think it's worth making an incomplete fix that at least addresses the most common symptom and without otherwise changing how Rust handles native libs. This PR is intended to be easy to revert (if necessary) when a more permanent fix is implemented.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/asm.rs')
0 files changed, 0 insertions, 0 deletions