diff options
| author | Luqman Aden <me@luqman.ca> | 2022-04-11 21:31:42 -0400 |
|---|---|---|
| committer | Luqman Aden <me@luqman.ca> | 2022-04-11 21:32:45 -0400 |
| commit | 03bcbbf9280efa27f6cc558b82edff5042b9b584 (patch) | |
| tree | 360673ebf97685139f4143e7cfee2aef118b7a96 /src/bootstrap | |
| parent | 90ca44752a79dd414d9a0ccf7a74533a99080988 (diff) | |
| download | rust-03bcbbf9280efa27f6cc558b82edff5042b9b584.tar.gz rust-03bcbbf9280efa27f6cc558b82edff5042b9b584.zip | |
[bootstrap] Grab the right FileCheck binary for dist when cross-compiling.
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs index e4937d7bbcc..7b496e6c669 100644 --- a/src/bootstrap/lib.rs +++ b/src/bootstrap/lib.rs @@ -865,8 +865,8 @@ impl Build { } } } else { - let base = self.llvm_out(self.config.build).join("build"); - let base = if !self.ninja() && self.config.build.contains("msvc") { + let base = self.llvm_out(target).join("build"); + let base = if !self.ninja() && target.contains("msvc") { if self.config.llvm_optimize { if self.config.llvm_release_debuginfo { base.join("RelWithDebInfo") |
