rtic/ci/install.sh
Jorge Aparicio 0788a15a39 update CI
2017-07-20 23:03:45 -05:00

14 lines
299 B
Bash

set -ex
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