Skip to content

Commit 0a4ec5d

Browse files
committed
test for rustup-toolchain-install-master
1 parent f838410 commit 0a4ec5d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

rustup-toolchain

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ set -e
1313
#
1414
# ./rustup-toolchain $COMMIT: Update "miri" toolchain and `rust-version` file to match that commit.
1515

16+
# Make sure rustup-toolchain-install-master is installed.
17+
if ! which rustup-toolchain-install-master >/dev/null; then
18+
echo "Please install rustup-toolchain-install-master by running 'cargo install rustup-toolchain-install-master'"
19+
exit 1
20+
fi
21+
1622
# Determine new commit.
1723
if [[ "$1" == "" ]]; then
1824
NEW_COMMIT=$(cat rust-version)

0 commit comments

Comments
 (0)