Skip to content

Commit

Permalink
ci: test with rustc-dep-of-std
Browse files Browse the repository at this point in the history
Add a test that the crate builds correctly with the configuration that
is used in `std`.

(backport <#4158>)
(cherry picked from commit 9839a9a)
tgross35 committed Nov 28, 2024

Verified

This commit was signed with the committer’s verified signature.
aduth Andrew Duthie
1 parent 4ca22fa commit 96db1f4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ci/verify-build.sh
Original file line number Diff line number Diff line change
@@ -70,6 +70,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

0 comments on commit 96db1f4

Please sign in to comment.