Skip to content

Commit c3e49db

Browse files
committed
only install if not already installed
1 parent a899f3b commit c3e49db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ci/install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ set -ex
33
main() {
44
case $TARGET in
55
thumbv*-none-eabi*)
6-
cargo install xargo || true
7-
rustup component add rust-src || true
6+
cargo install --list | grep xargo || cargo install xargo
7+
rustup component list | grep rust-src || rustup component add rust-src
88
;;
99
esac
1010
}

0 commit comments

Comments
 (0)