Skip to content

Commit bf95a02

Browse files
committed
Use the STD_FEATURES list
We define a list of features that should be tested along with "std" but we don't actually use it. Add a call to `cargo test` that enables "std" and all the features from `STD_FEATURES`. Found by `shellcheck`.
1 parent c8dc4b6 commit bf95a02

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

contrib/test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ if [ "$DO_FEATURE_MATRIX" = true ]; then
4949
RUSTFLAGS='--cfg=fuzzing' RUSTDOCFLAGS=$RUSTFLAGS cargo test --all
5050
RUSTFLAGS='--cfg=fuzzing' RUSTDOCFLAGS=$RUSTFLAGS cargo test --all --features="$FEATURES"
5151
cargo test --all --features="rand serde"
52+
cargo test --features="$STD_FEATURES"
5253

5354
if [ "$NIGHTLY" = true ]; then
5455
cargo test --all --all-features

0 commit comments

Comments
 (0)