Skip to content

Commit 9a6ad42

Browse files
authored
Merge pull request #106 from dtolnay/noxargo
Skip xargo installation for miri toolchain
2 parents 7164405 + c24b276 commit 9a6ad42

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

scripts/update-revs.sh

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,8 @@ for tool in clippy miri; do
4343
echo "Updating $tool branch"
4444
git checkout --quiet --detach nightly
4545
git branch --quiet --delete --force $tool &>/dev/null || true
46-
if [ $tool == miri ]; then
47-
default="miri, rust-src"
48-
echo -e " - uses: dtolnay/install@xargo\n with:\n bin: xargo-check" >> action.yml
49-
else
50-
default=$tool
51-
fi
46+
default=$tool
47+
if [ $tool == miri ]; then default+=,\ rust-src; fi
5248
sed -i "/required: false/{N;s/\n$/\n default: $default\n/}" action.yml
5349
git add action.yml
5450
git commit --quiet --message "components: $tool"

0 commit comments

Comments
 (0)