Skip to content

Commit 5994990

Browse files
committed
disable test with self-referential generator on Miri
1 parent 60f3bd7 commit 5994990

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: library/core/tests/future.rs

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ fn poll_n(val: usize, num: usize) -> PollN {
3030
}
3131

3232
#[test]
33+
#[cfg_attr(miri, ignore)] // self-referential generators do not work with Miri's aliasing checks
3334
fn test_join() {
3435
block_on(async move {
3536
let x = join!(async { 0 }).await;

0 commit comments

Comments
 (0)