From 59949900885930494df9c803b61bbe93e507e0cb Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Mon, 20 Dec 2021 12:33:55 +0100 Subject: [PATCH] disable test with self-referential generator on Miri --- library/core/tests/future.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/library/core/tests/future.rs b/library/core/tests/future.rs index e8b83b5cbc21e..0ed8c52c21224 100644 --- a/library/core/tests/future.rs +++ b/library/core/tests/future.rs @@ -30,6 +30,7 @@ fn poll_n(val: usize, num: usize) -> PollN { } #[test] +#[cfg_attr(miri, ignore)] // self-referential generators do not work with Miri's aliasing checks fn test_join() { block_on(async move { let x = join!(async { 0 }).await;