mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
auto merge of #3971 : SimonSapin/servo/cargo-https, r=Ms2ger
Download from https://static-rust-lang-org.s3.amazonaws.com, which apparently does not require SNI? This bypasses the CloudFront CDN and goes to directly to S3. CC @brson
This commit is contained in:
commit
8cb2b922ef
1 changed files with 1 additions and 2 deletions
|
@ -119,8 +119,7 @@ class MachCommands(CommandBase):
|
|||
os.makedirs(cargo_dir)
|
||||
|
||||
tgz_file = "cargo-nightly-%s.tar.gz" % host_triple()
|
||||
# FIXME(#3582): use https.
|
||||
nightly_url = "http://static.rust-lang.org/cargo-dist/%s/%s" % \
|
||||
nightly_url = "https://static-rust-lang-org.s3.amazonaws.com/cargo-dist/%s/%s" % \
|
||||
(self.cargo_build_id(), tgz_file)
|
||||
|
||||
download("Cargo nightly", nightly_url, tgz_file)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue