1
Fork 0

Miri std tests: don't set BOOTSTRAP_SKIP_TARGET_SANITY unnecessarily

This commit is contained in:
Ralf Jung 2024-06-08 10:35:20 +02:00
parent 16e8803579
commit d5671d06a4

View file

@ -59,17 +59,18 @@ check-aux:
library/alloc \ library/alloc \
--no-doc --no-doc
# Some doctests have intentional memory leaks. # Some doctests have intentional memory leaks.
# Some use file system operations to demonstrate dealing with `Result`.
$(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 \
library/alloc \ library/alloc \
--doc --doc
# In `std` we cannot test everything. # In `std` we cannot test everything, so we skip some modules.
$(Q)MIRIFLAGS="-Zmiri-disable-isolation" BOOTSTRAP_SKIP_TARGET_SANITY=1 \ $(Q)MIRIFLAGS="-Zmiri-disable-isolation" \
$(BOOTSTRAP) miri --stage 2 library/std \ $(BOOTSTRAP) miri --stage 2 library/std \
--no-doc -- \ --no-doc -- \
--skip fs:: --skip net:: --skip process:: --skip sys::pal:: --skip fs:: --skip net:: --skip process:: --skip sys::pal::
$(Q)MIRIFLAGS="-Zmiri-ignore-leaks -Zmiri-disable-isolation" BOOTSTRAP_SKIP_TARGET_SANITY=1 \ $(Q)MIRIFLAGS="-Zmiri-ignore-leaks -Zmiri-disable-isolation" \
$(BOOTSTRAP) miri --stage 2 library/std \ $(BOOTSTRAP) miri --stage 2 library/std \
--doc -- \ --doc -- \
--skip fs:: --skip net:: --skip process:: --skip sys::pal:: --skip fs:: --skip net:: --skip process:: --skip sys::pal::