diff --git a/appveyor.yml b/appveyor.yml index bac00ba..1bd4804 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -15,7 +15,8 @@ install: - ps: pwd # Install Rust and Cargo - - curl -sSf -o rustup-init.exe https://win.rustup.rs + - ps: '[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12' + - ps: Start-FileDownload https://win.rustup.rs -FileName rustup-init.exe - rustup-init.exe --default-host %TARGET% --default-toolchain %CHANNEL% -y - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin - rustc -Vv