From f111950cbdd7d994b6e51a4df57f2deb77d578d2 Mon Sep 17 00:00:00 2001 From: Michael Mueller Date: Wed, 19 Jun 2019 16:55:08 +0200 Subject: [PATCH] Exclude deadlocking test in thread-safe mode --- src/memory.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/memory.rs b/src/memory.rs index bf13183..ea9aab0 100644 --- a/src/memory.rs +++ b/src/memory.rs @@ -742,6 +742,8 @@ mod tests { }); } + // this test works only in the non-thread-safe variant, it deadlocks otherwise. + #[cfg(not(feature = "threadsafe"))] #[should_panic] #[test] fn zero_copy_panics_on_nested_access() {