diff --git a/tests/test.rs b/tests/test.rs index 1c9e738..830ebed 100644 --- a/tests/test.rs +++ b/tests/test.rs @@ -309,6 +309,7 @@ mod sync { } #[test] + #[cfg(not(miri))] // leaks memory fn static_lazy_via_fn() { fn xs() -> &'static Vec { static XS: OnceCell> = OnceCell::new(); @@ -331,6 +332,7 @@ mod sync { } #[test] + #[cfg(not(miri))] // leaks memory fn eval_once_macro() { macro_rules! eval_once { (|| -> $ty:ty {