will_wake tests fail on Miri and that is expected
This commit is contained in:
parent
5a1e5449c8
commit
960dd38abe
1 changed files with 2 additions and 0 deletions
|
@ -4,6 +4,7 @@ use alloc::task::{LocalWake, Wake};
|
|||
use core::task::{LocalWaker, Waker};
|
||||
|
||||
#[test]
|
||||
#[cfg_attr(miri, should_panic)] // `will_wake` doesn't guarantee that this test will work, and indeed on Miri it fails
|
||||
fn test_waker_will_wake_clone() {
|
||||
struct NoopWaker;
|
||||
|
||||
|
@ -19,6 +20,7 @@ fn test_waker_will_wake_clone() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg_attr(miri, should_panic)] // `will_wake` doesn't guarantee that this test will work, and indeed on Miri it fails
|
||||
fn test_local_waker_will_wake_clone() {
|
||||
struct NoopWaker;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue