Use stable rust for installing dependencies in bootstrap
This commit is contained in:
parent
37f38ed2bb
commit
45289f11d0
|
@ -864,8 +864,8 @@ usage()
|
|||
# Looks for and installs a cargo-managed binary or subcommand
|
||||
#############################################################
|
||||
cargoInstall() {
|
||||
if [[ "`cargo install --list`" != *"$1 v$2"* ]]; then
|
||||
cargo install --force --version "$2" "$1"
|
||||
if [[ "`cargo +stable install --list`" != *"$1 v$2"* ]]; then
|
||||
cargo +stable install --force --version "$2" "$1"
|
||||
else
|
||||
echo "You have $1 version $2 installed already!"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue