about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorTyler Mandry <tmandry@gmail.com>2019-09-30 14:38:21 -0700
committerGitHub <noreply@github.com>2019-09-30 14:38:21 -0700
commitfb8f9b47eb47e66f180e302c2ee40b6fe451e447 (patch)
treef4a2856d4a77f07f1d7f2e73e3a96c031e633256 /src
parent30ba6fd99c56ba618387282660abf944e05c1a58 (diff)
parent218571074887c53b5b62050f8cd08b9ba98a2b03 (diff)
downloadrust-fb8f9b47eb47e66f180e302c2ee40b6fe451e447.tar.gz
rust-fb8f9b47eb47e66f180e302c2ee40b6fe451e447.zip
Rollup merge of #64786 - tmandry:patch-1, r=alexcrichton
Use https for curl when building for linux

I noticed that the dist-x86_64-linux builder uses http to fetch curl and doesn't do any signature verification. It should probably use https.

r? @alexcrichton @Mark-Simulacrum
Diffstat (limited to 'src')
-rwxr-xr-xsrc/ci/docker/dist-x86_64-linux/build-curl.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ci/docker/dist-x86_64-linux/build-curl.sh b/src/ci/docker/dist-x86_64-linux/build-curl.sh
index fb8b63d7920..8200bbe2fdc 100755
--- a/src/ci/docker/dist-x86_64-linux/build-curl.sh
+++ b/src/ci/docker/dist-x86_64-linux/build-curl.sh
@@ -3,9 +3,11 @@
 set -ex
 source shared.sh
 
-VERSION=7.51.0
+VERSION=7.66.0
 
-curl http://cool.haxx.se/download/curl-$VERSION.tar.bz2 | tar xjf -
+curl https://rust-lang-ci-mirrors.s3-us-west-1.amazonaws.com/rustc/curl-$VERSION.tar.xz \
+  | xz --decompress \
+  | tar xf -
 
 mkdir curl-build
 cd curl-build