diff --git a/library/std/src/io/tests.rs b/library/std/src/io/tests.rs index c306de3039fc3..eb5d59887683b 100644 --- a/library/std/src/io/tests.rs +++ b/library/std/src/io/tests.rs @@ -694,6 +694,8 @@ fn read_buf_full_read() { } #[test] +// Miri does not support signalling OOM +#[cfg_attr(miri, ignore)] // 64-bit only to be sure the allocator will fail fast on an impossible to satsify size #[cfg(target_pointer_width = "64")] fn try_oom_error() {