about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2017-09-01 20:46:51 -0700
committerAlex Crichton <alex@alexcrichton.com>2017-09-09 21:14:44 -0700
commit38bedfabb936f4c26950033a96d673d996534758 (patch)
tree435727200c9338ae1daf97e92aec60df82e56f89 /src/rustllvm/RustWrapper.cpp
parent18366f4e8aaec1d46282cf0a6e0fe1a0ab202530 (diff)
downloadrust-38bedfabb936f4c26950033a96d673d996534758.tar.gz
rust-38bedfabb936f4c26950033a96d673d996534758.zip
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