Explicitly set RUSTDOCFLAGS
shellcheck emits these two warnings: SC2097: This assignment is only seen by the forked process. SC2098: This expansion will not see the mentioned assignment. Set `RUSTDOCFLAGS` explicitly to `--cfg=fuzzing` instead of trying to use the `RUSTFLAGS` variable.
This commit is contained in:
parent
bf95a02263
commit
1bbc1e7628
|
@ -46,8 +46,8 @@ if [ "$DO_FEATURE_MATRIX" = true ]; then
|
||||||
cargo test --all --no-default-features --features="std,$feature"
|
cargo test --all --no-default-features --features="std,$feature"
|
||||||
done
|
done
|
||||||
# Other combos
|
# Other combos
|
||||||
RUSTFLAGS='--cfg=fuzzing' RUSTDOCFLAGS=$RUSTFLAGS cargo test --all
|
RUSTFLAGS='--cfg=fuzzing' RUSTDOCFLAGS='--cfg=fuzzing' cargo test --all
|
||||||
RUSTFLAGS='--cfg=fuzzing' RUSTDOCFLAGS=$RUSTFLAGS cargo test --all --features="$FEATURES"
|
RUSTFLAGS='--cfg=fuzzing' RUSTDOCFLAGS='--cfg=fuzzing' cargo test --all --features="$FEATURES"
|
||||||
cargo test --all --features="rand serde"
|
cargo test --all --features="rand serde"
|
||||||
cargo test --features="$STD_FEATURES"
|
cargo test --features="$STD_FEATURES"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue