Skip to content

Commit 31ec973

Browse files
authored
Rollup merge of #98556 - BlaCoiso:patch-1, r=jyn514
Fix builds on Windows (closes #98546) closes #98546
2 parents 13e4f87 + 15abd82 commit 31ec973

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)