Skip to content

Commit 75417e5

Browse files
committed
Auto merge of #1164 - RalfJung:cargo-install, r=RalfJung
rely on improved cargo install `cargo install` will now update old versions, and not fail if things are up-to-date.
2 parents 9c0b89c + 2dc3097 commit 75417e5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.appveyor.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ install:
3030
- rustup toolchain uninstall beta
3131
- rustup update
3232
# Install "master" toolchain
33-
- cargo install rustup-toolchain-install-master & exit 0
33+
- cargo install rustup-toolchain-install-master
3434
# We need to install cargo here as well or else the DLL search path inside `cargo run`
3535
# will be for the wrong toolchain. (On Unix, `./miri` takes care of this, but not here.)
3636
- rustup-toolchain-install-master -f -n master %RUSTC_HASH% -c rust-src -c rustc-dev -c cargo

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ before_script:
3737
- rustup toolchain uninstall beta
3838
- rustup update
3939
# Install "master" toolchain
40-
- cargo install rustup-toolchain-install-master || echo "rustup-toolchain-install-master already installed"
40+
- cargo install rustup-toolchain-install-master
4141
- travis_retry rustup-toolchain-install-master -f -n master $RUSTC_HASH -c rust-src -c rustc-dev
4242
- rustup default master
4343
- rustc --version

0 commit comments

Comments
 (0)