15 lines
423 B
Bash
Executable file
15 lines
423 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/lzutao/rustup-toolchain-install-master \
|
|
--rev c44dbf920b644000ac3ba01184cbb1a01bb91519 \
|
|
--bin rustup-toolchain-install-master \
|
|
--debug
|
|
fi
|
|
|
|
rustup-toolchain-install-master -f -n master
|
|
rustup override set master
|