rtic/ci/install.sh
2017-07-27 15:02:25 -05:00

14 lines
310 B
Bash

set -euxo pipefail
main() {
case $TARGET in
thumbv*-none-eabi*)
cargo install --list | grep xargo || \
cargo install xargo
rustup component list | grep 'rust-src.*installed' || \
rustup component add rust-src
;;
esac
}
main