aboutsummaryrefslogtreecommitdiff
path: root/ci/install.sh
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2018-04-16 19:44:27 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2018-04-16 19:44:27 +0000
commit5ff9076e9c1a5cc2e9b57041699d0aa37ca8c768 (patch)
tree4169f3ae1a774a189b90baeefb1e1c3aaa0b5a44 /ci/install.sh
parentb55581dfe35040a4fdc93a1f38c1e1769d4d2535 (diff)
parentbfa56e12f7a3ec3734e329f00d98ce9a953fce6d (diff)
Merge #71
71: update parser r=japaric a=japaric closes #69 this doesn't change functionality per se but improves diagnostics in some cases. Some hard errors have becomes warnings, for example: when `resources` is empty, or when `idle.path` is set to the default `idle` path. Co-authored-by: Jorge Aparicio <jorge@japaric.io>
Diffstat (limited to 'ci/install.sh')
-rw-r--r--ci/install.sh11
1 files changed, 3 insertions, 8 deletions
diff --git a/ci/install.sh b/ci/install.sh
index dd7de9e..3c41921 100644
--- a/ci/install.sh
+++ b/ci/install.sh
@@ -1,14 +1,9 @@
set -euxo pipefail
main() {
- case $TARGET in
- thumbv*-none-eabi*)
- cargo install --list | grep 'xargo v0.3.8' || \
- cargo install xargo --vers 0.3.8
- rustup component list | grep 'rust-src.*installed' || \
- rustup component add rust-src
- ;;
- esac
+ if [ $TARGET != x86_64-unknown-linux-gnu ]; then
+ rustup target add $TARGET
+ fi
}
main