Skip to content

Commit 6297ca0

Browse files
authored
Unrolled build for rust-lang#122275
Rollup merge of rust-lang#122275 - RalfJung:std-oom, r=workingjubilee disable OOM test in Miri Needed for https://github.com/rust-lang/miri-test-libstd
2 parents 3b1717c + 1dd47e0 commit 6297ca0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: library/std/src/io/tests.rs

+2
Original file line numberDiff line numberDiff line change
@@ -694,6 +694,8 @@ fn read_buf_full_read() {
694694
}
695695

696696
#[test]
697+
// Miri does not support signalling OOM
698+
#[cfg_attr(miri, ignore)]
697699
// 64-bit only to be sure the allocator will fail fast on an impossible to satsify size
698700
#[cfg(target_pointer_width = "64")]
699701
fn try_oom_error() {

0 commit comments

Comments
 (0)