mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-14 00:47:16 +00:00
47563a13eb
and update CONTRIBUTING.md accordingly.
9 lines
362 B
Bash
Executable file
9 lines
362 B
Bash
Executable file
#!/bin/bash
|
|
# Set up the appropriate rustc toolchain
|
|
|
|
cd $(dirname $0)
|
|
|
|
cargo install rustup-toolchain-install-master --debug || echo "rustup-toolchain-install-master already installed"
|
|
RUSTC_HASH=$(git ls-remote https://github.com/rust-lang/rust.git master | awk '{print $1}')
|
|
rustup-toolchain-install-master -f -n master $RUSTC_HASH
|
|
rustup override set master
|