Skip to content

Commit fe0fc3c

Browse files
committed
more debugging
1 parent 43d34d8 commit fe0fc3c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/bootstrap/lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1168,7 +1168,9 @@ impl Build {
11681168
/// Copies a file from `src` to `dst`
11691169
pub fn copy(&self, src: &Path, dst: &Path) {
11701170
if self.config.dry_run { return; }
1171-
self.verbose(&format!("copying {:?} => {:?}", src, dst));
1171+
if dst.display().to_string().contains("rust-std") {
1172+
self.verbose(&format!("copying {:?} => {:?}", src, dst));
1173+
}
11721174
let _ = fs::remove_file(&dst);
11731175
let metadata = t!(src.symlink_metadata());
11741176
if metadata.file_type().is_symlink() {

0 commit comments

Comments
 (0)