aboutsummaryrefslogtreecommitdiff
path: root/ci/install.sh
blob: 6e7fcc28d43fdbf9ece49b16c5a4596d8c32427d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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