]> git.proxmox.com Git - cargo.git/commit
Auto merge of #9182 - alexcrichton:fix-lto-off, r=ehuss
authorbors <bors@rust-lang.org>
Thu, 18 Feb 2021 15:49:14 +0000 (15:49 +0000)
committerbors <bors@rust-lang.org>
Thu, 18 Feb 2021 15:49:14 +0000 (15:49 +0000)
commitbf5a5d5e5d3ae842a63bfce6d070dfd438cf6070
tree47979fea847a375644d27958e3daa82ce9fade87
parentadb35807a3643962f27b428a05485d9cc8fc0ae0
parent1e05dbb5e686e819e1df12e3af167266a692481b
Auto merge of #9182 - alexcrichton:fix-lto-off, r=ehuss

Propagate `lto=off` harder

This commit fixes an issue with LTO calculation for various units when
`lto=off` is specified in the profile. This ensures now that `lto=off`
is passed to all transitive dependencies as well to disable thin-local
LTO. As an added bonus this also passed `embed-bitcode=no` whenever
`lto=off` is specified since we know we won't be using bitcode anyway.

Closes #9171