mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 13:13:34 +00:00
7d7451a67a
rustup-toolchain-install-master on Travis Windows builds is unexpectedly slower when it was running on other OSes. This commit tries to use release build of RTIM as a mean to improve performance there.
13 lines
354 B
Bash
Executable file
13 lines
354 B
Bash
Executable file
#!/bin/bash
|
|
# Set up the appropriate rustc toolchain
|
|
|
|
set -e
|
|
|
|
cd "$(dirname "$0")"
|
|
|
|
if [[ "$CI" == true ]] || ! command -v rustup-toolchain-install-master > /dev/null; then
|
|
cargo install -Z install-upgrade rustup-toolchain-install-master --bin rustup-toolchain-install-master
|
|
fi
|
|
|
|
rustup-toolchain-install-master -f -n master
|
|
rustup override set master
|