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 "$RUSTUP_TEMP" -y
rm -f "$RUSTUP_TEMP" rm -f "$RUSTUP_TEMP"
set +e
rustup update rustup update
set -e
rustup install stable rustup install stable
set +e
rustup install nightly rustup install nightly
set -e
rustup default stable rustup default stable
rustup component add rls --toolchain stable rustup component add rls --toolchain stable
@ -147,8 +143,8 @@ if [[ -z $NORUST ]]; then
set +e set +e
cargo install-update -a cargo install-update -a
set -e
rustup run nightly cargo install-update -a rustup run nightly cargo install-update -a
set -e
fi fi
set +e set +e