File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -15,10 +15,13 @@ export MIRIFLAGS="${MIRIFLAGS:-} -Zmiri-strict-provenance -Zmiri-symbolic-alignm
1515
1616case " ${group} " in
1717 channel)
18+ # -Zmiri-ignore-leaks is needed because we use detached threads in tests in tests/array.rs: panic_on_drop
1819 MIRI_LEAK_CHECK=' 1' \
20+ MIRIFLAGS=" ${MIRIFLAGS} -Zmiri-ignore-leaks" \
1921 cargo miri test --all-features \
2022 -p crossbeam-channel 2>&1 | ts -i ' %.s '
2123 # -Zmiri-ignore-leaks is needed because we use detached threads in tests in tests/golang.rs: https://github.com/rust-lang/miri/issues/1371
24+ MIRI_LEAK_CHECK=' 1' \
2225 MIRIFLAGS=" ${MIRIFLAGS} -Zmiri-ignore-leaks" \
2326 cargo miri test --all-features \
2427 -p crossbeam-channel --test golang 2>&1 | ts -i ' %.s '
Original file line number Diff line number Diff line change @@ -690,6 +690,7 @@ fn channel_through_channel() {
690690 . unwrap ( ) ;
691691}
692692
693+ #[ cfg_attr( crossbeam_sanitize, ignore) ]
693694#[ test]
694695fn panic_on_drop ( ) {
695696 struct Msg1 < ' a > ( & ' a mut bool ) ;
You can’t perform that action at this time.
0 commit comments