aboutsummaryrefslogtreecommitdiff
path: root/ci/install.sh
blob: dd7de9e19ba350eaa5fbc8cfd96be5024034af67 (plain)
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 v0.3.8' || \
                cargo install xargo --vers 0.3.8
            rustup component list | grep 'rust-src.*installed' || \
                rustup component add rust-src
            ;;
    esac
}

main