Skip to content
Snippets Groups Projects
Commit 2b7d5c56 authored by Jorge Aparicio's avatar Jorge Aparicio
Browse files

fix ci/install.sh

parent 8bb4a948
No related branches found
No related tags found
No related merge requests found
set -euxo pipefail
main() {
if [ $TARGET = thumbv7m-none-eabi ]; then
local vers=0.3.7
cargo install --list | grep "xargo v$vers" || \
cargo install xargo -f --vers $vers
( cd .. && cargo install xargo -f --vers $vers )
rustup component list | grep 'rust-src.*installed' || \
rustup component add rust-src
fi
}
main
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment