Use stable rust for installing dependencies in bootstrap

This commit is contained in:
Jeremy Soller 2024-05-06 11:23:43 -06:00
parent 37f38ed2bb
commit 45289f11d0
No known key found for this signature in database
GPG key ID: D02FD439211AF56F

View file

@ -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