mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 15:11:30 +00:00
14 lines
384 B
Bash
Executable file
14 lines
384 B
Bash
Executable file
#!/bin/bash
|
|
# Set up the appropriate rustc toolchain
|
|
|
|
cd "$(dirname "$0")" || exit
|
|
|
|
if ! command -v rustup-toolchain-install-master > /dev/null; then
|
|
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
|
|
rustup override set master
|