]> git.lizzy.rs Git - rust.git/commit
rustbuild: Use copies instead of hard links
authorAlex Crichton <alex@alexcrichton.com>
Sat, 4 Feb 2017 01:12:58 +0000 (17:12 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Thu, 9 Mar 2017 15:00:13 +0000 (07:00 -0800)
commit3be02fc41032febc28e22a8a41ec7dc85ca1ce19
tree1a4a6224edacd3a07a3cdeb54576c8c0cd036a95
parent3087a1f39eaeac9d76c8b159dcc64de515bb2b83
rustbuild: Use copies instead of hard links

The original motivation for hard links was to speed up the various stages of
rustbuild, but in the end this is causing problems on Windows (#39504).

This commit tweaks the build system to use copies instead of hard links
unconditionally to ensure that the files accessed by Windows are always
disjoint.

Locally this added .3s to a noop build, so it shouldn't be too much of a
regression hopefully!
src/bootstrap/util.rs
src/stage0.txt