From 83f04442ecb50441dff764f9bb05ad89656891f1 Mon Sep 17 00:00:00 2001 From: Lzu Tao Date: Sat, 12 Oct 2019 10:18:31 +0700 Subject: [PATCH] use git version --- appveyor.yml | 2 +- setup-toolchain.sh | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 46614907a..93bb8bde7 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -18,7 +18,7 @@ install: - rustup-init.exe -y --default-host %TARGET% --default-toolchain nightly - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin - del rust-toolchain - - cargo install rustup-toolchain-install-master --debug || echo "rustup-toolchain-install-master already installed" + - cargo install --git https://github.com/kennytm/rustup-toolchain-install-master --debug || echo "rustup-toolchain-install-master already installed" - rustup-toolchain-install-master -f -n master -c rustc-dev - rustup component add rustfmt --toolchain nightly & exit 0 # Format test handles missing rustfmt - rustup default master diff --git a/setup-toolchain.sh b/setup-toolchain.sh index 93b78bc21..012d26a10 100755 --- a/setup-toolchain.sh +++ b/setup-toolchain.sh @@ -4,7 +4,10 @@ cd "$(dirname "$0")" || exit if ! command -v rustup-toolchain-install-master > /dev/null; then - cargo install rustup-toolchain-install-master --debug + cargo install \ + --git https://github.com/kennytm/rustup-toolchain-install-master \ + --bin rustup-toolchain-install-master \ + --debug fi rustup-toolchain-install-master -f -n master -c rustc-dev