disable test with self-referential generator on Miri

This commit is contained in:
Ralf Jung 2021-12-20 12:33:55 +01:00
parent 60f3bd78ee
commit 5994990088

View File

@ -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;