File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -17,11 +17,14 @@ test_all: check_all_targets
1717# NOTE: Requires a nightly compiler.
1818# NOTE: Keep `RUSTFLAGS` and `RUSTDOCFLAGS` in sync to ensure the doc tests
1919# compile correctly.
20+ # TODO: remove `--all-targets` once
21+ # <https://github.com/rust-lang/rust/issues/147394> and/or
22+ # <https://github.com/rust-lang/rust/issues/146465> are fixed.
2023test_sanitizer :
2124 @if [ -z $$ {SAN+x} ]; then echo " Required '\$ $SAN ' variable is not set" 1>&2 ; exit 1; fi
2225 RUSTFLAGS=" -Z sanitizer=$$ SAN -Z sanitizer-memory-track-origins" \
2326 RUSTDOCFLAGS=" -Z sanitizer=$$ SAN -Z sanitizer-memory-track-origins" \
24- cargo test -Z build-std --all-features --target $(RUSTUP_TARGET )
27+ cargo test --all-targets - Z build-std --all-features --target $(RUSTUP_TARGET )
2528
2629# Check all targets using all features.
2730check_all_targets : $(TARGETS )
You can’t perform that action at this time.
0 commit comments