]> git.lizzy.rs Git - rust.git/commit
Auto merge of #107241 - clubby789:bootstrap-lto-off, r=simulacrum
authorbors <bors@rust-lang.org>
Fri, 3 Feb 2023 01:19:04 +0000 (01:19 +0000)
committerbors <bors@rust-lang.org>
Fri, 3 Feb 2023 01:19:04 +0000 (01:19 +0000)
commitf02439dea78e5c2df42198c7a03e2db6002ff263
treeba934c044e040c794ecaf64c5d0ddea604210a5c
parent6c991b07403a3234dd1ec0ac973b8ef97055e605
parent2adf26fc72f354aabd65da176eb9f8806b0d2ef2
Auto merge of #107241 - clubby789:bootstrap-lto-off, r=simulacrum

Add `rust.lto=off` to bootstrap and set as compiler/library default

Closes #107202

The issue mentions `embed-bitcode=on`, but here https://github.com/rust-lang/rust/blob/c8e6a9e8b6251bbc8276cb78cabe1998deecbed7/src/bootstrap/compile.rs#L379-L381
it appears that this is always set for std stage 1+, so I'm unsure if changes are needed here.

`@rustbot` label +A-bootstrap
config.toml.example
src/bootstrap/config.rs