hackndev / zinc

The bare metal stack for rust
zinc.rs
Apache License 2.0
1k stars 100 forks source link

rust download directory shouldn't be merged on version upgrade #357

Closed mcoffin closed 8 years ago

mcoffin commented 8 years ago

Currently, if a version upgrade happens upstream on the user's rustc before the user cleans their cargo git cache, the build script will download the new version of rust, and merge the tarball with the existing working directory when unzipping.

If the versions differ, the build script should delete the existing rust directory, and unzip the tarball in to a clean directory instead.

This is, at the very least, the root cause of hackndev/zinc#336, and potentially many other libcore-related compilation issues.

mcoffin commented 8 years ago

Wrong project. Silly @waffle-iron interface.