]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #38405 - alexcrichton:rustbuild-fixes, r=japaric
authorbors <bors@rust-lang.org>
Mon, 19 Dec 2016 15:36:15 +0000 (15:36 +0000)
committerbors <bors@rust-lang.org>
Mon, 19 Dec 2016 15:36:15 +0000 (15:36 +0000)
rustbuild: Fix `copy` helper with existing files

This erroneously truncated files when the destination already existed and was an
existing hard link to the source. This in turn caused weird bugs!

Closes #37745


Trivial merge