Skip to content

Commit 15abd82

Browse files
authored
Fix builds on Windows (closes #98546)
1 parent c80c4b8 commit 15abd82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/native.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ pub(crate) fn maybe_download_ci_llvm(builder: &Builder<'_>) {
160160
// files in the tarball are in the past, so it doesn't trigger a
161161
// rebuild.
162162
let now = filetime::FileTime::from_system_time(std::time::SystemTime::now());
163-
let llvm_config = llvm_root.join("bin/llvm-config");
163+
let llvm_config = llvm_root.join("bin").join(exe("llvm-config", builder.config.build));
164164
t!(filetime::set_file_times(&llvm_config, now, now));
165165

166166
let llvm_lib = llvm_root.join("lib");

0 commit comments

Comments
 (0)