Skip to content

Commit a0b98d3

Browse files
committed
check-aux: test core and alloc in Miri
1 parent 298d593 commit a0b98d3

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/bootstrap/mk/Makefile.in

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,16 @@ check-aux:
5252
src/tools/cargo \
5353
src/tools/cargotest \
5454
$(BOOTSTRAP_ARGS)
55+
# Run standard library tests in Miri.
56+
$(Q)$(BOOTSTRAP) miri --stage 2 \
57+
library/core \
58+
library/alloc \
59+
--no-doc
60+
$(Q)MIRIFLAGS="-Zmiri-ignore-leaks" \
61+
$(BOOTSTRAP) miri --stage 2 \
62+
library/core \
63+
library/alloc \
64+
--doc
5565
dist:
5666
$(Q)$(BOOTSTRAP) dist $(BOOTSTRAP_ARGS)
5767
distcheck:

0 commit comments

Comments
 (0)