Skip to content

Commit 03bcbbf

Browse files
committed
[bootstrap] Grab the right FileCheck binary for dist when cross-compiling.
1 parent 90ca447 commit 03bcbbf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bootstrap/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -865,8 +865,8 @@ impl Build {
865865
}
866866
}
867867
} else {
868-
let base = self.llvm_out(self.config.build).join("build");
869-
let base = if !self.ninja() && self.config.build.contains("msvc") {
868+
let base = self.llvm_out(target).join("build");
869+
let base = if !self.ninja() && target.contains("msvc") {
870870
if self.config.llvm_optimize {
871871
if self.config.llvm_release_debuginfo {
872872
base.join("RelWithDebInfo")

0 commit comments

Comments
 (0)