Skip to content

Commit f3b5b4c

Browse files
committed
ci: test with rustc-dep-of-std
Add a test that the crate builds correctly with the configuration that is used in `std`.
1 parent 93cec56 commit f3b5b4c

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)