]> git.lizzy.rs Git - rust.git/commit
rustbuild: Fix a distribution bug with rustdoc
authorAlex Crichton <alex@alexcrichton.com>
Mon, 11 Sep 2017 18:01:48 +0000 (11:01 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Mon, 11 Sep 2017 18:01:48 +0000 (11:01 -0700)
commiteb26d5b7c928646983c53bcbd33ce578acbf238f
treeb6f9d4ba15680b1fd34698148fcd2dbff4e6d2a4
parent19d30fcdb28c2a4f57774b827b1a17ee156b5c56
rustbuild: Fix a distribution bug with rustdoc

Apparently `File::create` was called when there was an existing hard link or the
like, causing an existing file to get accidentally truncated!

Closes #44487
src/bootstrap/dist.rs