We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c27c2e commit f5aa313Copy full SHA for f5aa313
src/tools/miri/miri
@@ -97,7 +97,9 @@ toolchain)
97
CUR_COMMIT=$(rustc +miri --version -v 2>/dev/null | grep "^commit-hash: " | cut -d " " -f 2)
98
if [[ "$CUR_COMMIT" == "$NEW_COMMIT" ]]; then
99
echo "miri toolchain is already at commit $CUR_COMMIT."
100
- rustup override set miri
+ if [[ "$TOOLCHAIN" != "miri" ]]; then
101
+ rustup override set miri
102
+ fi
103
exit 0
104
fi
105
# Install and setup new toolchain.
0 commit comments