aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/bootstrap_commands.py
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2014-11-13 18:13:39 +0000
committerSimon Sapin <simon.sapin@exyr.org>2014-11-13 18:13:39 +0000
commit1a684f8279b91f8ac17863cf717215e31b156e9d (patch)
tree34f7174817bd8948295d1daec1f273969caf8f1c /python/servo/bootstrap_commands.py
parentc5e1b0d32e17fad29799023c85e2e73ac89c3af7 (diff)
downloadservo-1a684f8279b91f8ac17863cf717215e31b156e9d.tar.gz
servo-1a684f8279b91f8ac17863cf717215e31b156e9d.zip
Download Cargo over HTTPS. Fix #3582.
Diffstat (limited to 'python/servo/bootstrap_commands.py')
-rw-r--r--python/servo/bootstrap_commands.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/python/servo/bootstrap_commands.py b/python/servo/bootstrap_commands.py
index 1a1d95adde0..11509e5ede5 100644
--- a/python/servo/bootstrap_commands.py
+++ b/python/servo/bootstrap_commands.py
@@ -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)