about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-09-10 04:36:15 +0000
committerbors <bors@rust-lang.org>2017-09-10 04:36:15 +0000
commit6d445e16b55f6599aa6295e8d39307d279bea1b0 (patch)
tree22c702f9aaf021f12ad7e94ade9ae4e27c9adb64 /src/rustllvm/RustWrapper.cpp
parentf982ff05db1faedb5080100f9982ca084781a9f2 (diff)
parent38bedfabb936f4c26950033a96d673d996534758 (diff)
downloadrust-6d445e16b55f6599aa6295e8d39307d279bea1b0.tar.gz
rust-6d445e16b55f6599aa6295e8d39307d279bea1b0.zip
Auto merge of #44260 - alexcrichton:hardlink-no-copy, r=Mark-Simulacrum
rustbuild: Switch back to using hard links

The `copy` function historically in rustbuild used hard links to speed up the
copy operations that it does. This logic was backed out, however, in #39518 due
to a bug that only showed up on Windows, described in #39504. The cause
described in #39504 happened because Cargo, on a fresh build, would overwrite
the previous artifacts with new hard links that Cargo itself manages.

This behavior in Cargo was fixed in rust-lang/cargo#4390 where it no longer
should overwrite files on fresh builds, opportunistically leaving the filesystem
intact and not touching it.

Hopefully this can help speed up local builds by doing fewer copies all over the
place!
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions