Skip to content

Commit cd04ec8

Browse files
committed
Add rustc-dep-of-std to CI
1 parent 018948e commit cd04ec8

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

ci/run.sh

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,16 +101,21 @@ if [ "$target" = "s390x-unknown-linux-gnu" ]; then
101101
passed=0
102102
until [ $n -ge $N ]; do
103103
if [ "$passed" = "0" ]; then
104-
if $cmd --no-default-features; then
104+
if $cmd --no-default-features --features rustc-dep-of-std; then
105105
passed=$((passed+1))
106106
continue
107107
fi
108108
elif [ "$passed" = "1" ]; then
109-
if $cmd; then
109+
if $cmd --no-default-features; then
110110
passed=$((passed+1))
111111
continue
112112
fi
113113
elif [ "$passed" = "2" ]; then
114+
if $cmd; then
115+
passed=$((passed+1))
116+
continue
117+
fi
118+
elif [ "$passed" = "3" ]; then
114119
if $cmd --features extra_traits; then
115120
break
116121
fi
@@ -119,6 +124,7 @@ if [ "$target" = "s390x-unknown-linux-gnu" ]; then
119124
sleep 1
120125
done
121126
else
127+
$cmd --no-default-features --features rustc-dep-of-std
122128
$cmd --no-default-features
123129
$cmd
124130
$cmd --features extra_traits

0 commit comments

Comments
 (0)