mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-12-01 16:04:33 +01:00
14 lines
310 B
Bash
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
|