aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ci/install.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/ci/install.sh b/ci/install.sh
index 442e1c4..f978160 100644
--- a/ci/install.sh
+++ b/ci/install.sh
@@ -3,8 +3,10 @@ set -ex
main() {
case $TARGET in
thumbv*-none-eabi*)
- cargo install --list | grep xargo || cargo install xargo
- rustup component list | grep rust-src || rustup component add rust-src
+ cargo install --list | grep xargo || \
+ cargo install xargo
+ rustup component list | grep 'rust-src.*installed' || \
+ rustup component add rust-src
;;
esac
}