mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
'./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:
parent
f59bcc0064
commit
052a8b500a
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ class MachCommands(CommandBase):
|
||||||
description='Update the Rust version to latest Nightly',
|
description='Update the Rust version to latest Nightly',
|
||||||
category='devenv')
|
category='devenv')
|
||||||
def rustup(self):
|
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()
|
nightly_date = urllib2.urlopen(url).read()
|
||||||
filename = path.join(self.context.topdir, "rust-toolchain")
|
filename = path.join(self.context.topdir, "rust-toolchain")
|
||||||
with open(filename, "w") as f:
|
with open(filename, "w") as f:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue