summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLinus Färnstrand <linus@mullvad.net>2017-01-17 11:42:40 +0100
committerLinus Färnstrand <linus@mullvad.net>2017-01-17 15:46:10 +0100
commit08b5b674035c9600bf426da0c02af6b61280eaf1 (patch)
tree90d8f2544ab1fc8776f5abe494d5b60f632bbd28
parent9a4d759a3c202934360446903ace4762da8cd35c (diff)
downloadmullvadvpn-08b5b674035c9600bf426da0c02af6b61280eaf1.tar.xz
mullvadvpn-08b5b674035c9600bf426da0c02af6b61280eaf1.zip
Go back to trust's version of Rust install
-rw-r--r--appveyor.yml14
1 files changed, 3 insertions, 11 deletions
diff --git a/appveyor.yml b/appveyor.yml
index fd93260203..4a5946f9a8 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -31,17 +31,9 @@ install:
} ElseIf ($Env:TARGET -eq 'i686-pc-windows-gnu') {
$Env:PATH += ';C:\msys64\mingw32\bin'
}
- # Download Rust differently for nightly since there are some checksum problems when using rustup
- - ps: >-
- If ($Env:RUST_VERSION -eq 'nightly') {
- Start-FileDownload "https://static.rust-lang.org/dist/rust-${env:RUST_VERSION}-${env:TARGET}.exe"
- cmd /c rust-%RUST_VERSION%-%TARGET%.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust"
- $Env:PATH += ';C:\Program Files (x86)\Rust\bin'
- } Else {
- cmd /c curl -sSf -o rustup-init.exe https://win.rustup.rs/
- cmd /c rustup-init.exe -y --default-host %TARGET% --default-toolchain %RUST_VERSION%
- $Env:PATH += ';C:\Users\appveyor\.cargo\bin'
- }
+ - curl -sSf -o rustup-init.exe https://win.rustup.rs/
+ - rustup-init.exe -y --default-host %TARGET% --default-toolchain %RUST_VERSION%
+ - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
- rustc -Vv
- cargo -V