diff options
author | 2017-05-30 13:10:35 -0500 | |
---|---|---|
committer | 2017-05-30 13:10:35 -0500 | |
commit | db27f0b60c851db013aa9a730b9b4f71ce25f004 (patch) | |
tree | e1ada371b2f38d2cf2b387570a256fba22c2ba90 | |
parent | c3e49dbd8212bafa4296f61eb892fdc704495915 (diff) | |
download | cortex-m-db27f0b60c851db013aa9a730b9b4f71ce25f004.tar.gz cortex-m-db27f0b60c851db013aa9a730b9b4f71ce25f004.tar.zst cortex-m-db27f0b60c851db013aa9a730b9b4f71ce25f004.zip |
fix rust-src check
-rw-r--r-- | ci/install.sh | 6 |
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 } |