]> git.lizzy.rs Git - rust.git/commitdiff
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)
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


Trivial merge