We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
optimize = false
1 parent 231257f commit 0e423f4Copy full SHA for 0e423f4
src/bootstrap/src/core/config/toml/rust.rs
@@ -541,6 +541,14 @@ impl Config {
541
lld_enabled = lld_enabled_toml;
542
std_features = std_features_toml;
543
544
+ if optimize_toml.as_ref().is_some_and(|v| matches!(v, RustOptimize::Bool(false))) {
545
+ eprintln!(
546
+ "WARNING: setting `optimize` to `false` is known to cause errors and \
547
+ should be considered unsupported. Refer to `bootstrap.example.toml` \
548
+ for more details."
549
+ );
550
+ }
551
+
552
optimize = optimize_toml;
553
self.rust_new_symbol_mangling = new_symbol_mangling;
554
set(&mut self.rust_optimize_tests, optimize_tests);
0 commit comments