rust-lang/rust — pull request #19170 by erickt (2014-11-21 04:30:46+00:00)
Title: rewrite rustup to support caching nightlies, protects against truncation errors

This closes #19168.

Please be careful reviewing this since this gets used all over the place. I've tested all the options and everything appears to be working though.