diff --git a/ci/run.sh b/ci/run.sh index 9754118f742b..6413019ee5fc 100755 --- a/ci/run.sh +++ b/ci/run.sh @@ -101,16 +101,21 @@ if [ "$target" = "s390x-unknown-linux-gnu" ]; then passed=0 until [ $n -ge $N ]; do if [ "$passed" = "0" ]; then - if $cmd --no-default-features; then + if $cmd --no-default-features --features rustc-dep-of-std; then passed=$((passed+1)) continue fi elif [ "$passed" = "1" ]; then - if $cmd; then + if $cmd --no-default-features; then passed=$((passed+1)) continue fi elif [ "$passed" = "2" ]; then + if $cmd; then + passed=$((passed+1)) + continue + fi + elif [ "$passed" = "3" ]; then if $cmd --features extra_traits; then break fi @@ -119,6 +124,7 @@ if [ "$target" = "s390x-unknown-linux-gnu" ]; then sleep 1 done else + $cmd --no-default-features --features rustc-dep-of-std $cmd --no-default-features $cmd $cmd --features extra_traits