Skip to content

Commit 92105c6

Browse files
committed
Use rustup to download the stable channel
1 parent a6b1c2d commit 92105c6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

appveyor.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ environment:
77
- TARGET: x86_64-pc-windows-msvc
88
- TARGET: i686-pc-windows-msvc
99
install:
10-
- ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-nightly-${env:TARGET}.exe"
11-
- rust-nightly-%TARGET%.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust"
12-
- SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin
10+
- curl -sSf -o rustup-init.exe https://win.rustup.rs/
11+
- rustup-init.exe -y --default-host %TARGET%
12+
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
1313
- if defined MSYS2_BITS set PATH=%PATH%;C:\msys64\mingw%MSYS2_BITS%\bin
1414
- rustc -V
1515
- cargo -V

0 commit comments

Comments
 (0)