Skip to content

Commit 94b9b5f

Browse files
authored
Rollup merge of rust-lang#92121 - RalfJung:miri-core-test, r=kennytm
disable test with self-referential generator on Miri Running the libcore test suite in Miri currently fails due to the known incompatibility of self-referential generators with Miri's aliasing checks (rust-lang/unsafe-code-guidelines#148). So let's disable that test in Miri for now.
2 parents 40c6720 + 5994990 commit 94b9b5f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)