Skip to content

Commit a25439f

Browse files
authored
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 a172eb0 + 1dd47e0 commit a25439f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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)