]> git.lizzy.rs Git - rust.git/commit
Auto merge of #75956 - jonas-schievink:lto-opt-sz, r=tmiasko
authorbors <bors@rust-lang.org>
Mon, 12 Oct 2020 06:10:50 +0000 (06:10 +0000)
committerbors <bors@rust-lang.org>
Mon, 12 Oct 2020 06:10:50 +0000 (06:10 +0000)
commit62cbe81b8a4bf932ca59c4b75372af50fb4a247c
tree0758d0aa98cec0a05d4fbd8a4b32df35e770839e
parent63962f020385042d397a54b10bac1786eaa9b998
parent32cf0350468a024207075ceed1dae4e2b8341935
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