Skip to content

Commit 83f0444

Browse files
committed
use git version
1 parent dce4632 commit 83f0444

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

appveyor.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ install:
1818
- rustup-init.exe -y --default-host %TARGET% --default-toolchain nightly
1919
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
2020
- del rust-toolchain
21-
- cargo install rustup-toolchain-install-master --debug || echo "rustup-toolchain-install-master already installed"
21+
- cargo install --git https://github.com/kennytm/rustup-toolchain-install-master --debug || echo "rustup-toolchain-install-master already installed"
2222
- rustup-toolchain-install-master -f -n master -c rustc-dev
2323
- rustup component add rustfmt --toolchain nightly & exit 0 # Format test handles missing rustfmt
2424
- rustup default master

setup-toolchain.sh

+4-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44
cd "$(dirname "$0")" || exit
55

66
if ! command -v rustup-toolchain-install-master > /dev/null; then
7-
cargo install rustup-toolchain-install-master --debug
7+
cargo install \
8+
--git https://github.com/kennytm/rustup-toolchain-install-master \
9+
--bin rustup-toolchain-install-master \
10+
--debug
811
fi
912

1013
rustup-toolchain-install-master -f -n master -c rustc-dev

0 commit comments

Comments
 (0)