]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #52019 - michaelwoerister:cross-lto-auto-plugin, r=alexcrichton
authorkennytm <kennytm@gmail.com>
Thu, 5 Jul 2018 23:07:17 +0000 (07:07 +0800)
committerkennytm <kennytm@gmail.com>
Fri, 6 Jul 2018 00:49:20 +0000 (08:49 +0800)
commitffc453abf7227257ca64429c0ead14ce81bc0985
tree442b0238955acc0fecb761344f25fe487b28ee91
parenta4846aebd8c6a95f4aa15880b00b31c4d33d8327
parent65ff4141a5ed69223b29634a49a499b9415993ee
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
src/librustc/session/config.rs