aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ci/install.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/ci/install.sh b/ci/install.sh
index 561e9c2..5a7aabf 100644
--- a/ci/install.sh
+++ b/ci/install.sh
@@ -1,7 +1,12 @@
set -ex
main() {
- cargo install xargo || true
+ case $TARGET in
+ thumbv*-none-eabi*)
+ cargo install xargo || true
+ rustup component add rust-src || true
+ ;;
+ esac
}
# NOTE(TRAVIS_BRANCH) Travis is configured to only build *pushes* (not PRs)