rustbuild: Update nightly date
Also fix a bug where we didn't clean out previous nightlies
This commit is contained in:
@@ -73,6 +73,7 @@ class RustBuild:
|
||||
|
||||
if self.rustc().startswith(self.bin_root()) and \
|
||||
(not os.path.exists(self.rustc()) or self.rustc_out_of_date()):
|
||||
shutil.rmtree(self.bin_root())
|
||||
filename = "rust-std-nightly-" + self.build + ".tar.gz"
|
||||
url = "https://static.rust-lang.org/dist/" + self.snap_rustc_date()
|
||||
tarball = os.path.join(rustc_cache, filename)
|
||||
|
||||
Reference in New Issue
Block a user