no rust-std for these targets

This commit is contained in:
Jorge Aparicio 2016-08-13 12:45:19 -05:00
parent e7b10e53ac
commit 10ea089eb2
1 changed files with 1 additions and 1 deletions

View File

@ -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
}