|
27 | 27 | 2>&1 | ts -i '%.s '
|
28 | 28 | echo "::endgroup::"
|
29 | 29 | # Cannot use strict provenance as there are int-to-ptr casts in the doctests.
|
| 30 | + # FIXME: Once <https://github.com/rust-lang/rust/pull/95583> lands, the only |
| 31 | + # one that is left is `primitive_docs.rs - prim_fn`, which I am sure we |
| 32 | + # can find some solution for. |
30 | 33 | echo "::group::Testing core docs ($TARGET)" && echo
|
31 | 34 | MIRIFLAGS="$DEFAULTFLAGS -Zmiri-ignore-leaks -Zmiri-disable-isolation" \
|
32 | 35 | ./run-test.sh core --target $TARGET --doc \
|
|
57 | 60 | # These are the most OS-specific (among the modules we do not skip).
|
58 | 61 | CORE="time:: sync:: thread:: env::"
|
59 | 62 |
|
60 |
| - # hashbrown and some other things do int2ptr casts, so we need permissive provenance. |
61 | 63 | for TARGET in x86_64-unknown-linux-gnu aarch64-apple-darwin; do
|
62 |
| - echo "::group::Testing std core ($CORE on $TARGET)" |
63 |
| - MIRIFLAGS="$DEFAULTFLAGS -Zmiri-disable-isolation -Zmiri-permissive-provenance" \ |
| 64 | + echo "::group::Testing std core ($CORE on $TARGET, strict provenance)" |
| 65 | + MIRIFLAGS="$DEFAULTFLAGS -Zmiri-disable-isolation -Zmiri-strict-provenance" \ |
64 | 66 | ./run-test.sh std --target $TARGET --lib --tests \
|
65 | 67 | -- $CORE \
|
66 | 68 | 2>&1 | ts -i '%.s '
|
67 | 69 | echo "::endgroup::"
|
68 |
| - echo "::group::Testing std core docs ($CORE on $TARGET)" |
69 |
| - MIRIFLAGS="$DEFAULTFLAGS -Zmiri-ignore-leaks -Zmiri-disable-isolation -Zmiri-permissive-provenance" \ |
| 70 | + echo "::group::Testing std core docs ($CORE on $TARGET, strict provenance)" |
| 71 | + MIRIFLAGS="$DEFAULTFLAGS -Zmiri-ignore-leaks -Zmiri-disable-isolation -Zmiri-strict-provenance" \ |
70 | 72 | ./run-test.sh std --target $TARGET --doc \
|
71 | 73 | -- $CORE \
|
72 | 74 | 2>&1 | ts -i '%.s '
|
73 | 75 | echo "::endgroup::"
|
74 | 76 | done
|
| 77 | + # hashbrown and some other things do int2ptr casts, so we need permissive provenance. |
75 | 78 | # "sleep" has a thread leak that we have to ignore
|
76 | 79 | echo "::group::Testing remaining std (except for $SKIP)"
|
77 | 80 | MIRIFLAGS="$DEFAULTFLAGS -Zmiri-ignore-leaks -Zmiri-disable-isolation -Zmiri-permissive-provenance" \
|
|
0 commit comments