Do not fail on cargo update failures
This commit is contained in:
parent
56789146f4
commit
84cbef87d0
1 changed files with 1 additions and 5 deletions
|
@ -114,13 +114,9 @@ if [[ -z $NORUST ]]; then
|
|||
"$RUSTUP_TEMP" -y
|
||||
rm -f "$RUSTUP_TEMP"
|
||||
|
||||
set +e
|
||||
rustup update
|
||||
set -e
|
||||
rustup install stable
|
||||
set +e
|
||||
rustup install nightly
|
||||
set -e
|
||||
rustup default stable
|
||||
|
||||
rustup component add rls --toolchain stable
|
||||
|
@ -147,8 +143,8 @@ if [[ -z $NORUST ]]; then
|
|||
|
||||
set +e
|
||||
cargo install-update -a
|
||||
set -e
|
||||
rustup run nightly cargo install-update -a
|
||||
set -e
|
||||
fi
|
||||
|
||||
set +e
|
||||
|
|
Loading…
Reference in a new issue