Skip to content

Commit b91b310

Browse files
committed
add explicit defaults
1 parent fce2464 commit b91b310

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/bootstrap/src/core/config/config.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1166,10 +1166,10 @@ impl Config {
11661166
Warnings::Default => rust_deny_warnings.unwrap_or(true),
11671167
},
11681168
backtrace_on_ice: rust_backtrace_on_ice.unwrap_or(false),
1169-
llvm_tests: llvm_tests.unwrap_or_default(),
1170-
llvm_enzyme: llvm_enzyme.unwrap_or_default(),
1169+
llvm_tests: llvm_tests.unwrap_or(false),
1170+
llvm_enzyme: llvm_enzyme.unwrap_or(false),
11711171
llvm_offload: llvm_offload.unwrap_or(false),
1172-
llvm_plugins: llvm_plugin.unwrap_or_default(),
1172+
llvm_plugins: llvm_plugin.unwrap_or(false),
11731173
llvm_optimize: llvm_optimize.unwrap_or(true),
11741174
llvm_release_debuginfo: llvm_release_debuginfo.unwrap_or(false),
11751175
llvm_static_stdcpp: llvm_static_libstdcpp.unwrap_or(false),
@@ -1230,7 +1230,7 @@ impl Config {
12301230
.unwrap_or(vec![CodegenBackendKind::Llvm]),
12311231
rust_verify_llvm_ir: rust_verify_llvm_ir.unwrap_or(false),
12321232
rust_thin_lto_import_instr_limit,
1233-
rust_randomize_layout: rust_randomize_layout.unwrap_or_default(),
1233+
rust_randomize_layout: rust_randomize_layout.unwrap_or(false),
12341234
rust_remap_debuginfo: rust_remap_debuginfo.unwrap_or(false),
12351235
rust_new_symbol_mangling,
12361236
rust_profile_use: flags_rust_profile_use.or(rust_profile_use),

0 commit comments

Comments
 (0)