From: kennytm Date: Thu, 5 Jul 2018 23:07:17 +0000 (+0800) Subject: Rollup merge of #52019 - michaelwoerister:cross-lto-auto-plugin, r=alexcrichton X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=ffc453abf7227257ca64429c0ead14ce81bc0985;p=rust.git Rollup merge of #52019 - michaelwoerister:cross-lto-auto-plugin, r=alexcrichton [cross-lang-lto] Allow the linker to choose the LTO-plugin (which is useful when using LLD) This PR allows for not specifying an LTO-linker plugin but still let `rustc` invoke the linker with the correct plugin arguments. This is useful when using LLD which does not need the `-plugin` argument. Since LLD is the best linker for this scenario anyway, this change should improve ergonomics quite a bit. r? @alexcrichton --- ffc453abf7227257ca64429c0ead14ce81bc0985