From 1dd47e0a17c07b1efd420c95873fab0ff5e5d0ce Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Sun, 10 Mar 2024 09:24:02 +0100 Subject: [PATCH] disable OOM test in Miri --- library/std/src/io/tests.rs | 2 ++ 1 file changed, 2 insertions(+) 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() {