diff options
| author | Erick Tryzelaar <erick.tryzelaar@gmail.com> | 2014-11-30 23:34:19 -0800 |
|---|---|---|
| committer | Erick Tryzelaar <erick.tryzelaar@gmail.com> | 2014-12-03 15:18:52 -0800 |
| commit | bd8dac8f758fc76ff3c4553e187eba627728cf71 (patch) | |
| tree | 091853a5a8c55006bcf680239a4f317c09e299af /src/test/compile-fail/trailing-comma-array-repeat.rs | |
| parent | 8ca8e6fa4d3a7dc1a40e958cfa4ca62096bfa509 (diff) | |
| download | rust-bd8dac8f758fc76ff3c4553e187eba627728cf71.tar.gz rust-bd8dac8f758fc76ff3c4553e187eba627728cf71.zip | |
rustup: rewrite to protect against truncation
This closes #19168. It's possible that if the downloading of `rustup.sh` is interrupted, bad things could happen, such as running a naked "rm -rf /" instead of "rm -rf /path/to/tmpdir". This wraps rustup.sh's functionality in a function that gets called at the last time that should protect us from these truncation errors.
Diffstat (limited to 'src/test/compile-fail/trailing-comma-array-repeat.rs')
0 files changed, 0 insertions, 0 deletions
