about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorCyryl Płotnicki-Chudyk <cyplo@cyplo.net>2016-04-30 08:09:53 +0200
committerCyryl Płotnicki-Chudyk <cyplo@cyplo.net>2016-04-30 08:09:53 +0200
commitf5884f6824291cda15096d84af9e346e13a41578 (patch)
tree3bfbd432e428ed157f0c1441b960b8b2ff7980d0 /src/rustllvm/RustWrapper.cpp
parent9b63263d0d2ee265765ba7f802d2b23fe5d413f5 (diff)
downloadrust-f5884f6824291cda15096d84af9e346e13a41578.tar.gz
rust-f5884f6824291cda15096d84af9e346e13a41578.zip
Get a file during bootstrap to a temp location.
When downloading a file in the bootstrap phase - get it to a temp
location first. Verify it there and only if downloaded properly move it
to the `cache` directory.

This should prevent `make` being stuck if the download was interrupted
or otherwise corrupted.

The temporary files are deleted in case of an exception.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions