@@ -26,7 +26,9 @@ use crate::core::build_steps::tool::{self, Tool};
|
26 | 26 | use crate::core::builder::{Builder, Kind, RunConfig, ShouldRun, Step}; |
27 | 27 | use crate::core::config::TargetSelection; |
28 | 28 | use crate::utils::channel::{self, Info}; |
29 | | -use crate::utils::helpers::{exe, is_dylib, output, t, target_supports_cranelift_backend, timeit}; |
| 29 | +use crate::utils::helpers::{ |
| 30 | + exe, is_dylib, move_file, output, t, target_supports_cranelift_backend, timeit, |
| 31 | +}; |
30 | 32 | use crate::utils::tarball::{GeneratedTarball, OverlayKind, Tarball}; |
31 | 33 | use crate::{Compiler, DependencyType, Mode, LLVM_TOOLS}; |
32 | 34 | |
@@ -2024,7 +2026,7 @@ impl Step for Extended {
|
2024 | 2026 | builder.run(&mut cmd); |
2025 | 2027 | |
2026 | 2028 | if !builder.config.dry_run() { |
2027 | | -t!(fs::rename(exe.join(&filename), distdir(builder).join(&filename))); |
| 2029 | +t!(move_file(exe.join(&filename), distdir(builder).join(&filename))); |
2028 | 2030 | } |
2029 | 2031 | } |
2030 | 2032 | } |
|