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.
1 parent 77c3d6e commit a0aaa12Copy full SHA for a0aaa12
src/bootstrap/src/core/config/config.rs
@@ -937,7 +937,7 @@ impl Config {
937
&& hosts == [host_target]
938
{
939
let no_llvm_config =
940
- target_config.get(&host_target).map_or(true, |config| config.llvm_config.is_none());
+ target_config.get(&host_target).is_none_or(|config| config.llvm_config.is_none());
941
rust_lld_enabled.unwrap_or(llvm_from_ci || no_llvm_config)
942
} else {
943
rust_lld_enabled.unwrap_or(false)
0 commit comments