Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Commit

Permalink
Merge pull request #66 from gagarin55/rustup-downgrade
Browse files Browse the repository at this point in the history
Problem: rustup does not work on AppVeyor.
Solution: downgrade rustup version
  • Loading branch information
gagarin55 authored Dec 30, 2017
2 parents eeec60a + 232b2c4 commit 113a3e3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,11 @@ install:
- ps: $env:VERSION_BASE = "$(janus.exe version -format='v%M.%m.x')"
- ps: $env:VERSION = "$(janus.exe version -format='v%M.%m.%C-%S')"

- appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
# https://github.com/rust-lang-nursery/rustup.rs/issues/1316#issuecomment-354156348
# Downgrade to use older, not-currently-broken version.
- appveyor DownloadFile https://static.rust-lang.org/rustup/archive/1.7.0/i686-pc-windows-gnu/rustup-init.exe -FileName rustup-init.exe
# Currently broken version.
# - appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe - rustup-init -yv --default-toolchain %channel% --default-host %target%
- rustup-init -yv --default-toolchain %channel% --default-host %target%
- cmd: set PATH=%PATH%;%USERPROFILE%\.cargo\bin
- rustup update
Expand Down

0 comments on commit 113a3e3

Please sign in to comment.