diff --git a/ci/install.sh b/ci/install.sh index 57131eb..b1e596d 100644 --- a/ci/install.sh +++ b/ci/install.sh @@ -79,7 +79,7 @@ install_rust() { } add_rustup_target() { - if [[ $TARGET != $HOST ]]; then + if [[ $TARGET != $HOST && ${CARGO:-cargo} == "cargo" ]]; then rustup target add $TARGET fi }