diff options
| author | Cyryl Płotnicki-Chudyk <cyplo@cyplo.net> | 2016-04-30 08:09:53 +0200 |
|---|---|---|
| committer | Cyryl Płotnicki-Chudyk <cyplo@cyplo.net> | 2016-04-30 08:09:53 +0200 |
| commit | f5884f6824291cda15096d84af9e346e13a41578 (patch) | |
| tree | 3bfbd432e428ed157f0c1441b960b8b2ff7980d0 /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | 9b63263d0d2ee265765ba7f802d2b23fe5d413f5 (diff) | |
| download | rust-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/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
