Skip to content

Commit ea26e7b

Browse files
authored
Rollup merge of rust-lang#126149 - RalfJung:miri-std-tests, r=clubby789
Miri std tests: don't set BOOTSTRAP_SKIP_TARGET_SANITY unnecessarily Also explain why we disable isolation, while we are at it.
2 parents 9395236 + d5671d0 commit ea26e7b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/bootstrap/mk/Makefile.in

+4-3
Original file line numberDiff line numberDiff line change
@@ -59,17 +59,18 @@ check-aux:
5959
library/alloc \
6060
--no-doc
6161
# Some doctests have intentional memory leaks.
62+
# Some use file system operations to demonstrate dealing with `Result`.
6263
$(Q)MIRIFLAGS="-Zmiri-ignore-leaks -Zmiri-disable-isolation" \
6364
$(BOOTSTRAP) miri --stage 2 \
6465
library/core \
6566
library/alloc \
6667
--doc
67-
# In `std` we cannot test everything.
68-
$(Q)MIRIFLAGS="-Zmiri-disable-isolation" BOOTSTRAP_SKIP_TARGET_SANITY=1 \
68+
# In `std` we cannot test everything, so we skip some modules.
69+
$(Q)MIRIFLAGS="-Zmiri-disable-isolation" \
6970
$(BOOTSTRAP) miri --stage 2 library/std \
7071
--no-doc -- \
7172
--skip fs:: --skip net:: --skip process:: --skip sys::pal::
72-
$(Q)MIRIFLAGS="-Zmiri-ignore-leaks -Zmiri-disable-isolation" BOOTSTRAP_SKIP_TARGET_SANITY=1 \
73+
$(Q)MIRIFLAGS="-Zmiri-ignore-leaks -Zmiri-disable-isolation" \
7374
$(BOOTSTRAP) miri --stage 2 library/std \
7475
--doc -- \
7576
--skip fs:: --skip net:: --skip process:: --skip sys::pal::

0 commit comments

Comments
 (0)