'./mach rustup': Use alternate S3 URL that doesn’t require SNI

… to hopefully fix https://travis-ci.org/servo/servo-with-rust-nightly/ builds.
This commit is contained in:
Simon Sapin 2017-09-12 11:07:26 +02:00
parent f59bcc0064
commit 052a8b500a

View file

@ -262,7 +262,7 @@ class MachCommands(CommandBase):
description='Update the Rust version to latest Nightly',
category='devenv')
def rustup(self):
url = "https://static.rust-lang.org/dist/channel-rust-nightly-date.txt"
url = "https://static-rust-lang-org.s3.amazonaws.com/dist/channel-rust-nightly-date.txt"
nightly_date = urllib2.urlopen(url).read()
filename = path.join(self.context.topdir, "rust-toolchain")
with open(filename, "w") as f: