Disable leaky test for MIRI

Signed-off-by: John Nunley <dev@notgull.net>
This commit is contained in:
John Nunley 2023-11-01 20:13:37 -07:00 committed by John Nunley
parent e1e2ab11df
commit 457cf7b888
1 changed files with 1 additions and 0 deletions

View File

@ -38,6 +38,7 @@ fn executor_cancels_everything() {
assert_eq!(DROP.load(Ordering::SeqCst), 1);
}
#[cfg(not(miri))]
#[test]
fn leaked_executor_leaks_everything() {
static DROP: AtomicUsize = AtomicUsize::new(0);