Skip to content

Commit db27f0b

Browse files
committed
fix rust-src check
1 parent c3e49db commit db27f0b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

ci/install.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ set -ex
33
main() {
44
case $TARGET in
55
thumbv*-none-eabi*)
6-
cargo install --list | grep xargo || cargo install xargo
7-
rustup component list | grep rust-src || rustup component add rust-src
6+
cargo install --list | grep xargo || \
7+
cargo install xargo
8+
rustup component list | grep 'rust-src.*installed' || \
9+
rustup component add rust-src
810
;;
911
esac
1012
}

0 commit comments

Comments
 (0)