diff options
| author | clubby789 <jamie@hill-daniel.co.uk> | 2023-01-23 21:21:35 +0000 |
|---|---|---|
| committer | clubby789 <jamie@hill-daniel.co.uk> | 2023-01-26 12:24:48 +0000 |
| commit | 2adf26fc72f354aabd65da176eb9f8806b0d2ef2 (patch) | |
| tree | 3c31e0a1ced8e1af4dd05a8c94a96cb9d3366c5f /src/bootstrap/defaults | |
| parent | 5e37043d63bfe2f3be8fa5a05b07d6c0dad5775d (diff) | |
| download | rust-2adf26fc72f354aabd65da176eb9f8806b0d2ef2.tar.gz rust-2adf26fc72f354aabd65da176eb9f8806b0d2ef2.zip | |
Add `rust.lto=off` to bootstrap
Diffstat (limited to 'src/bootstrap/defaults')
| -rw-r--r-- | src/bootstrap/defaults/config.compiler.toml | 2 | ||||
| -rw-r--r-- | src/bootstrap/defaults/config.library.toml | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/bootstrap/defaults/config.compiler.toml b/src/bootstrap/defaults/config.compiler.toml index 2f4ccb825c4..b98b13119e8 100644 --- a/src/bootstrap/defaults/config.compiler.toml +++ b/src/bootstrap/defaults/config.compiler.toml @@ -12,6 +12,8 @@ debug-logging = true incremental = true # Print backtrace on internal compiler errors during bootstrap backtrace-on-ice = true +# Make the compiler and standard library faster to build, at the expense of a ~20% runtime slowdown. +lto = "off" [llvm] # Will download LLVM from CI if available on your platform. diff --git a/src/bootstrap/defaults/config.library.toml b/src/bootstrap/defaults/config.library.toml index 7bc054d3a49..f362c4111f1 100644 --- a/src/bootstrap/defaults/config.library.toml +++ b/src/bootstrap/defaults/config.library.toml @@ -8,6 +8,8 @@ bench-stage = 0 [rust] # This greatly increases the speed of rebuilds, especially when there are only minor changes. However, it makes the initial build slightly slower. incremental = true +# Make the compiler and standard library faster to build, at the expense of a ~20% runtime slowdown. +lto = "off" [llvm] # Will download LLVM from CI if available on your platform. |
