Skip to content

Commit

Permalink
disable test with self-referential generator on Miri
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Dec 20, 2021
1 parent 60f3bd7 commit 5994990
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions library/core/tests/future.rs
Expand Up @@ -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;
Expand Down

0 comments on commit 5994990

Please sign in to comment.