@@ -60,7 +60,8 @@ check-aux:
60
60
library/alloc \
61
61
$(BOOTSTRAP_ARGS ) \
62
62
--no-doc
63
- # Some doctests use file system operations to demonstrate dealing with `Result`.
63
+ # Some doctests use file system operations to demonstrate dealing with `Result`,
64
+ # so we have to run them with isolation disabled.
64
65
$(Q ) MIRIFLAGS=" -Zmiri-disable-isolation" \
65
66
$(BOOTSTRAP ) miri --stage 2 \
66
67
library/coretests \
@@ -70,22 +71,19 @@ check-aux:
70
71
--doc
71
72
# In `std` we cannot test everything, so we skip some modules.
72
73
$(Q ) MIRIFLAGS=" -Zmiri-disable-isolation" \
73
- $(BOOTSTRAP ) miri --stage 2 library/std \
74
- $(BOOTSTRAP_ARGS ) \
75
- --no-doc -- \
76
- --skip fs:: --skip net:: --skip process:: --skip sys::fd:: --skip sys::pal::
77
- $(Q ) MIRIFLAGS=" -Zmiri-disable-isolation" \
78
- $(BOOTSTRAP ) miri --stage 2 library/std \
74
+ $(BOOTSTRAP ) miri --stage 2 \
75
+ library/std \
79
76
$(BOOTSTRAP_ARGS ) \
80
- --doc -- \
77
+ -- \
81
78
--skip fs:: --skip net:: --skip process:: --skip sys::fd:: --skip sys::pal::
82
79
# Also test some very target-specific modules on other targets
83
80
# (making sure to cover an i686 target as well).
84
81
$(Q ) MIRIFLAGS=" -Zmiri-disable-isolation" BOOTSTRAP_SKIP_TARGET_SANITY=1 \
85
- $(BOOTSTRAP ) miri --stage 2 library/std \
86
- $( BOOTSTRAP_ARGS ) \
82
+ $(BOOTSTRAP ) miri --stage 2 \
83
+ library/std \
87
84
--target aarch64-apple-darwin,i686-pc-windows-msvc \
88
- --no-doc -- \
85
+ $(BOOTSTRAP_ARGS ) \
86
+ -- \
89
87
time:: sync:: thread:: env::
90
88
dist :
91
89
$(Q )$(BOOTSTRAP ) dist $(BOOTSTRAP_ARGS )
0 commit comments