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 0d26ab3 commit 98a2e0fCopy full SHA for 98a2e0f
src/bootstrap/src/core/build_steps/llvm.rs
@@ -945,7 +945,7 @@ impl Step for OmpOffload {
945
// subfolder, so that all the logic that processes our build artifacts (hopefully) also
946
// automatically manages our artifacts in the subfolder.
947
let out_dir = builder.llvm_out(target).join("offload-outdir");
948
- if std::fs::exists(&out_dir).is_ok_and(|x| x == false) {
+ if std::fs::exists(&out_dir).is_ok_and(|x| !x) {
949
std::fs::DirBuilder::new().create(&out_dir).unwrap();
950
}
951
0 commit comments