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`.
  • Loading branch information
tgross35 committed Nov 28, 2024
1 parent 93cec56 commit f3b5b4c
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
Expand Up @@ -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
Expand Down

0 comments on commit f3b5b4c

Please sign in to comment.