From de0efe5825ec3e07fe7a8391b9e587ab82172118 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Wed, 28 Mar 2018 15:16:58 +0200 Subject: [PATCH] Get rustup-init with curl to avoid tls failures --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index f720b04..92d4051 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -5,7 +5,7 @@ environment: install: # Install rust, x86_64-pc-windows-msvc host - - appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe + - curl -sSf -o rustup-init.exe https://win.rustup.rs/ - rustup-init.exe -y --default-host x86_64-pc-windows-msvc --default-toolchain %APPVEYOR_RUST_CHANNEL% - set PATH=C:\msys64\usr\bin;%PATH%;C:\Users\appveyor\.cargo\bin - rustc -vV