about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-10-12 06:10:50 +0000
committerbors <bors@rust-lang.org>2020-10-12 06:10:50 +0000
commit62cbe81b8a4bf932ca59c4b75372af50fb4a247c (patch)
tree0758d0aa98cec0a05d4fbd8a4b32df35e770839e /compiler/rustc_codegen_llvm/src/llvm_util.rs
parent63962f020385042d397a54b10bac1786eaa9b998 (diff)
parent32cf0350468a024207075ceed1dae4e2b8341935 (diff)
downloadrust-62cbe81b8a4bf932ca59c4b75372af50fb4a247c.tar.gz
rust-62cbe81b8a4bf932ca59c4b75372af50fb4a247c.zip
Auto merge of #75956 - jonas-schievink:lto-opt-sz, r=tmiasko
Fix -Clinker-plugin-lto with opt-levels s and z

Pass s and z as `-plugin-opt=O2` to the linker. This is what `-Os` and `-Oz` correspond to, apparently.

Fixes https://github.com/rust-lang/rust/issues/75940
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions