From 7a14fe6a90af2e9a744fcb9d9c39ae748bc6051c Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Tue, 13 Mar 2018 20:39:19 +0100 Subject: [PATCH] Retry the rustup download on appveyor if it fails --- .appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.appveyor.yml b/.appveyor.yml index 821a03f7..e94e9092 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -52,7 +52,7 @@ cache: # For simple configurations, instead of using the build matrix, you can simply set the # default-toolchain and default-host manually here. install: - - appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe + - appveyor-retry appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe - rustup-init -yv --default-toolchain %channel% --default-host %target% - set PATH=%PATH%;%USERPROFILE%\.cargo\bin - rustc -vV