From 10ea089eb23bf48e0d472ea299617314a3c4f479 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Sat, 13 Aug 2016 12:45:19 -0500 Subject: [PATCH] no rust-std for these targets --- ci/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }