]> git.lizzy.rs Git - rust.git/blobdiff - ci/base-tests.sh
Auto merge of #3725 - mikerite:fix-2728, r=phansch
[rust.git] / ci / base-tests.sh
index 6675c795b3b284f492614db0b95a075133dfde7b..3ac6bbe67258c63885b645c02d3582001d2ec19a 100755 (executable)
@@ -29,7 +29,7 @@ cargo +nightly fmt --all -- --check
 # some lints are sensitive to formatting, exclude some files
 tests_need_reformatting="false"
 # switch to nightly
-rustup default nightly
+rustup override set nightly
 # avoid loop spam and allow cmds with exit status != 0
 set +ex
 
@@ -49,4 +49,4 @@ if [ "${tests_need_reformatting}" == "true" ] ; then
 fi
 
 # switch back to master
-rustup default master
+rustup override set master