about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorBlaCoiso <BlaCoiso@users.noreply.github.com>2022-06-26 23:27:44 +0100
committerGitHub <noreply@github.com>2022-06-26 23:27:44 +0100
commit15abd82d703c81e156b5d8546af9489d9c3f9d54 (patch)
treebe3039ad7cf0dcbe0d78d91fa9c25636f00ef564 /src/bootstrap
parentc80c4b8fdcf3da69cd483e2fec172c9b1f95842c (diff)
downloadrust-15abd82d703c81e156b5d8546af9489d9c3f9d54.tar.gz
rust-15abd82d703c81e156b5d8546af9489d9c3f9d54.zip
Fix builds on Windows (closes #98546)
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/native.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/native.rs b/src/bootstrap/native.rs
index ea410849694..9cd8b6d1455 100644
--- a/src/bootstrap/native.rs
+++ b/src/bootstrap/native.rs
@@ -160,7 +160,7 @@ pub(crate) fn maybe_download_ci_llvm(builder: &Builder<'_>) {
         // files in the tarball are in the past, so it doesn't trigger a
         // rebuild.
         let now = filetime::FileTime::from_system_time(std::time::SystemTime::now());
-        let llvm_config = llvm_root.join("bin/llvm-config");
+        let llvm_config = llvm_root.join("bin").join(exe("llvm-config", builder.config.build));
         t!(filetime::set_file_times(&llvm_config, now, now));
 
         let llvm_lib = llvm_root.join("lib");