Rollup merge of #98556 - BlaCoiso:patch-1, r=jyn514
Fix builds on Windows (closes #98546) closes https://github.com/rust-lang/rust/issues/98546
This commit is contained in:
commit
31ec973b15
@ -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
|
// files in the tarball are in the past, so it doesn't trigger a
|
||||||
// rebuild.
|
// rebuild.
|
||||||
let now = filetime::FileTime::from_system_time(std::time::SystemTime::now());
|
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));
|
t!(filetime::set_file_times(&llvm_config, now, now));
|
||||||
|
|
||||||
let llvm_lib = llvm_root.join("lib");
|
let llvm_lib = llvm_root.join("lib");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user