Exclude deadlocking test in thread-safe mode
This commit is contained in:
parent
99b0e03e4e
commit
f111950cbd
|
@ -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]
|
#[should_panic]
|
||||||
#[test]
|
#[test]
|
||||||
fn zero_copy_panics_on_nested_access() {
|
fn zero_copy_panics_on_nested_access() {
|
||||||
|
|
Loading…
Reference in New Issue