mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 00:03:43 +00:00
15 lines
338 B
Bash
Executable File
15 lines
338 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 \
|
|
rustup-toolchain-install-master \
|
|
--bin rustup-toolchain-install-master \
|
|
--debug
|
|
fi
|
|
|
|
rustup-toolchain-install-master -f -n master
|
|
rustup override set master
|