Do not fail on cargo update failures

This commit is contained in:
Cyryl Płotnicki 2019-06-10 09:44:48 +01:00
parent 56789146f4
commit 84cbef87d0

View file

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