Bug 1397279 - Have mach bootstrap install rustup 1.6.0. r?gps
MozReview-Commit-ID: LeabPgl8TTZ
--- a/python/mozboot/mozboot/mozillabuild.py
+++ b/python/mozboot/mozboot/mozillabuild.py
@@ -21,19 +21,19 @@ class MozillaBuildBootstrapper(BaseBoots
def install_system_packages(self):
self.install_rustup()
def install_rustup(self):
try:
rustup_init = tempfile.gettempdir() + '/rustup-init.exe'
self.http_download_and_save(
- 'https://static.rust-lang.org/rustup/archive/0.2.0/i686-pc-windows-msvc/rustup-init.exe',
+ 'https://static.rust-lang.org/rustup/archive/1.6.0/i686-pc-windows-msvc/rustup-init.exe',
rustup_init,
- 'a45ab7462b567dacddaf6e9e48bb43a1b9c1db4404ba77868f7d6fc685282a46')
+ '9855b9f0b19fd83c056185e083b6b345982becc2f8c608aac14998a73bcc2937')
self.run([rustup_init, '--no-modify-path', '--default-host',
'x86_64-pc-windows-msvc', '--default-toolchain', 'stable', '-y'])
mozillabuild_dir = os.environ['MOZILLABUILD']
with open(mozillabuild_dir + 'msys/etc/profile.d/profile-rustup.sh', 'wb') as f:
f.write('#!/bash/sh\n')
f.write('if test -n "$MOZILLABUILD"; then\n')
f.write(' WIN_HOME=$(command cd "$HOME" && pwd)\n')