diff options
Diffstat (limited to 'tests/thread_locals.rs')
-rw-r--r-- | tests/thread_locals.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/thread_locals.rs b/tests/thread_locals.rs index 9e27146..effb6a1 100644 --- a/tests/thread_locals.rs +++ b/tests/thread_locals.rs @@ -1,5 +1,7 @@ //! Tests that make sure accessing thread-locals while exiting the thread doesn't cause panics. +#![cfg(not(miri))] // error: abnormal termination: the evaluated program aborted execution + use std::thread; use std::time::Duration; |