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
|
# Looks for and installs a cargo-managed binary or subcommand
|
||||||
#############################################################
|
#############################################################
|
||||||
cargoInstall() {
|
cargoInstall() {
|
||||||
if [[ "`cargo install --list`" != *"$1 v$2"* ]]; then
|
if [[ "`cargo +stable install --list`" != *"$1 v$2"* ]]; then
|
||||||
cargo install --force --version "$2" "$1"
|
cargo +stable install --force --version "$2" "$1"
|
||||||
else
|
else
|
||||||
echo "You have $1 version $2 installed already!"
|
echo "You have $1 version $2 installed already!"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue