mirror of
https://github.com/servo/servo.git
synced 2025-07-06 15:03:40 +01:00
Download Cargo over HTTPS. Fix #3582.
This commit is contained in:
parent
c5e1b0d32e
commit
1a684f8279
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