mirror of
https://github.com/rust-lang/rust-clippy
synced 2025-02-25 11:57:25 +00:00
16 lines
346 B
Bash
Executable file
16 lines
346 B
Bash
Executable file
#!/bin/bash
|
|
# Set up the appropriate rustc toolchain
|
|
|
|
set -e
|
|
|
|
cd "$(dirname "$0")" || exit
|
|
|
|
if ! command -v rustup-toolchain-install-master > /dev/null; then
|
|
cargo install \
|
|
rustup-toolchain-install-master \
|
|
--bin rustup-toolchain-install-master \
|
|
--debug
|
|
fi
|
|
|
|
rustup-toolchain-install-master -f -n master
|
|
rustup override set master
|