From 6087fbc0914d25ad44bce7ce48bbc16e80c6580b Mon Sep 17 00:00:00 2001 From: Trevor Gross Date: Wed, 27 Nov 2024 22:14:21 -0500 Subject: [PATCH] ci: test with rustc-dep-of-std --- ci/verify-build.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ci/verify-build.sh b/ci/verify-build.sh index 50f3e3b88cde..cba652accaeb 100755 --- a/ci/verify-build.sh +++ b/ci/verify-build.sh @@ -69,6 +69,11 @@ test_target() { $cmd --no-default-features $cmd --no-default-features --features extra_traits + # Ensure the crate will build when used with `std` + if [ "$rust" = "nightly" ]; then + $cmd --no-default-features --features rustc-dep-of-std + fi + # For tier 2 freebsd targets, check with the different versions we support # if on nightly or stable case "$rust-$target" in