Skip to content

Commit 6087fbc

Browse files
committed
ci: test with rustc-dep-of-std
1 parent 5747392 commit 6087fbc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ci/verify-build.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,11 @@ test_target() {
6969
$cmd --no-default-features
7070
$cmd --no-default-features --features extra_traits
7171

72+
# Ensure the crate will build when used with `std`
73+
if [ "$rust" = "nightly" ]; then
74+
$cmd --no-default-features --features rustc-dep-of-std
75+
fi
76+
7277
# For tier 2 freebsd targets, check with the different versions we support
7378
# if on nightly or stable
7479
case "$rust-$target" in

0 commit comments

Comments
 (0)