miri core/alloc tests: do not test a 2nd target

This commit is contained in:
Ralf Jung 2024-04-26 16:33:37 +02:00
parent 5ff8fbb2d8
commit babead5b58

View File

@ -53,15 +53,12 @@ check-aux:
src/tools/cargotest \ src/tools/cargotest \
$(BOOTSTRAP_ARGS) $(BOOTSTRAP_ARGS)
# Run standard library tests in Miri. # Run standard library tests in Miri.
# We use a 64bit little-endian and a 32bit big-endian target for max coverage.
$(Q)BOOTSTRAP_SKIP_TARGET_SANITY=1 \ $(Q)BOOTSTRAP_SKIP_TARGET_SANITY=1 \
$(BOOTSTRAP) miri --stage 2 \ $(BOOTSTRAP) miri --stage 2 \
--target x86_64-unknown-linux-gnu,mips-unknown-linux-gnu \
library/core \ library/core \
library/alloc \ library/alloc \
--no-doc --no-doc
# Some doctests have intentional memory leaks. # Some doctests have intentional memory leaks.
# Also, they work only on the host.
$(Q)MIRIFLAGS="-Zmiri-ignore-leaks -Zmiri-disable-isolation" \ $(Q)MIRIFLAGS="-Zmiri-ignore-leaks -Zmiri-disable-isolation" \
$(BOOTSTRAP) miri --stage 2 \ $(BOOTSTRAP) miri --stage 2 \
library/core \ library/core \