浏览代码

no rust-std for these targets

Jorge Aparicio 8 年之前
父节点
当前提交
10ea089eb2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ci/install.sh

+ 1 - 1
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
 }