File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -15,15 +15,18 @@ echo "using filter: \"$filter\""
15
15
# Miri currently reports leaks in some tests so we disable that check
16
16
# here (might be due to ptr-int-ptr in crossbeam-epoch so might be
17
17
# resolved in future versions of that crate).
18
- MIRIFLAGS=" -Zmiri-disable-isolation -Zmiri-ignore-leaks" \
18
+ #
19
+ # crossbeam-epoch doesn't pass with stacked borrows so we need to use tree-borrows
20
+ # https://github.com/crossbeam-rs/crossbeam/issues/545
21
+ MIRIFLAGS=" -Zmiri-disable-isolation -Zmiri-ignore-leaks -Zmiri-tree-borrows" \
19
22
cargo +nightly miri nextest run \
20
23
-E " $filter " \
21
24
--test-threads=" $test_threads " \
22
25
# use nocapture or run miri directly to see warnings from miri
23
26
# --nocapture
24
27
25
28
# Run tests only available when parallel feature is disabled.
26
- MIRIFLAGS=" -Zmiri-disable-isolation -Zmiri-ignore-leaks" \
29
+ MIRIFLAGS=" -Zmiri-disable-isolation -Zmiri-ignore-leaks -Zmiri-tree-borrows " \
27
30
cargo +nightly miri nextest run \
28
31
--no-default-features \
29
32
-E " binary(no_parallel)" \
You can’t perform that action at this time.
0 commit comments