File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change
1
+ // Disabling in Miri as these would take too long.
2
+ #![ cfg( not( miri) ) ]
1
3
#![ feature( test) ]
2
4
3
5
extern crate test;
Original file line number Diff line number Diff line change @@ -57,11 +57,24 @@ check-aux:
57
57
library/core \
58
58
library/alloc \
59
59
--no-doc
60
+ # Some doctests have intentional memory leaks.
60
61
$(Q ) MIRIFLAGS=" -Zmiri-ignore-leaks -Zmiri-disable-isolation" \
61
62
$(BOOTSTRAP ) miri --stage 2 \
62
63
library/core \
63
64
library/alloc \
64
65
--doc
66
+ # In `std` we cannot test everything, sowe test the most target-dependent modules.
67
+ # We cover all main OSes and three different architectures.
68
+ $(Q ) MIRIFLAGS=" -Zmiri-disable-isolation" \
69
+ $(BOOTSTRAP ) miri --stage 2 library/std \
70
+ --target x86_64-unknown-linux-gnu,aarch64-apple-darwin,i686-pc-windows-gnu \
71
+ --no-doc -- \
72
+ time:: sync:: thread:: env::
73
+ $(Q ) MIRIFLAGS=" -Zmiri-ignore-leaks -Zmiri-disable-isolation" \
74
+ $(BOOTSTRAP ) miri --stage 2 library/std \
75
+ --target x86_64-unknown-linux-gnu,aarch64-apple-darwin,i686-pc-windows-gnu \
76
+ --doc -- \
77
+ time:: sync:: thread:: env::
65
78
dist :
66
79
$(Q )$(BOOTSTRAP ) dist $(BOOTSTRAP_ARGS )
67
80
distcheck :
You can’t perform that action at this time.
0 commit comments