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