mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +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.
14 lines
354 B
Bash
Executable File
14 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
|