summaryrefslogtreecommitdiffstats
path: root/appveyor.yml
diff options
context:
space:
mode:
authorPierre-Henri Symoneaux <pierre-henri.symoneaux@nokia.com>2017-05-29 22:53:59 +0200
committerPierre-Henri Symoneaux <pierre-henri.symoneaux@nokia.com>2017-05-29 23:03:11 +0200
commit4039a5e6a9dd33549e8d394dcd0c622a9fa0bca6 (patch)
tree86876a9b6c16d26131210bcc24802ca6d14ccd56 /appveyor.yml
parent3356ea2da7471ff29241d679aa3147c9d42fd175 (diff)
Use rustup to install rust in appveyor script
Fixes #50
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/appveyor.yml b/appveyor.yml
index f6bea69..e8d3e26 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -1,7 +1,7 @@
install:
- - ps: Start-FileDownload 'https://static.rust-lang.org/dist/rust-1.17.0-x86_64-pc-windows-gnu.exe'
- - rust-1.17.0-x86_64-pc-windows-gnu.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust"
- - SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin
+ - ps: Start-FileDownload 'https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-gnu/rustup-init.exe'
+ - rustup-init.exe -y --default-host x86_64-pc-windows-gnu --default-toolchain stable
+ - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
- rustc -V
- cargo -V