From bf95a02263b542da2a2b8e0072c7931f6aff3910 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Fri, 22 Jul 2022 11:35:15 +1000 Subject: [PATCH] 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`. --- contrib/test.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/test.sh b/contrib/test.sh index dad931a..e254084 100755 --- a/contrib/test.sh +++ b/contrib/test.sh @@ -49,6 +49,7 @@ if [ "$DO_FEATURE_MATRIX" = true ]; then RUSTFLAGS='--cfg=fuzzing' RUSTDOCFLAGS=$RUSTFLAGS cargo test --all RUSTFLAGS='--cfg=fuzzing' RUSTDOCFLAGS=$RUSTFLAGS cargo test --all --features="$FEATURES" cargo test --all --features="rand serde" + cargo test --features="$STD_FEATURES" if [ "$NIGHTLY" = true ]; then cargo test --all --all-features