We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e6495d1 + e44d804 commit 28e4358Copy full SHA for 28e4358
src/bootstrap/lib.rs
@@ -592,12 +592,20 @@ impl Build {
592
Path::new(llvm_bindir.trim()).join(exe("FileCheck", &*target))
593
} else {
594
let base = self.llvm_out(self.config.build).join("build");
595
- let exe = exe("FileCheck", &*target);
596
- if !self.config.ninja && self.config.build.contains("msvc") {
597
- base.join("Release/bin").join(exe)
+ let base = if !self.config.ninja && self.config.build.contains("msvc") {
+ if self.config.llvm_optimize {
+ if self.config.llvm_release_debuginfo {
598
+ base.join("RelWithDebInfo")
599
+ } else {
600
+ base.join("Release")
601
+ }
602
603
+ base.join("Debug")
604
605
- base.join("bin").join(exe)
- }
606
+ base
607
+ };
608
+ base.join("bin").join(exe("FileCheck", &*target))
609
}
610
611
0 commit comments