Skip to content

Commit

Permalink
Add rustc-dep-of-std to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tgross35 committed Nov 27, 2024
1 parent b1dc3a3 commit b1a7f91
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions ci/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit b1a7f91

Please sign in to comment.