1
Fork 0

Miri now supports entropy, but is still slow

This commit is contained in:
Ralf Jung 2019-04-16 20:04:17 +02:00
parent 07133ac70c
commit 9b21324db2
3 changed files with 18 additions and 9 deletions

View file

@ -282,7 +282,7 @@ fn assert_covariance() {
//
// Destructors must be called exactly once per element.
#[test]
#[cfg(not(miri))] // Miri does not support panics nor entropy
#[cfg(not(miri))] // Miri does not support catching panics
fn panic_safe() {
static DROP_COUNTER: AtomicUsize = AtomicUsize::new(0);