Skip to content

Commit

Permalink
Rollup merge of rust-lang#98556 - BlaCoiso:patch-1, r=jyn514
Browse files Browse the repository at this point in the history
Fix builds on Windows (closes rust-lang#98546)

closes rust-lang#98546
  • Loading branch information
matthiaskrgr authored Jun 27, 2022
2 parents 13e4f87 + 15abd82 commit 31ec973
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap/native.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 31ec973

Please sign in to comment.