Skip to content

Commit

Permalink
Rollup merge of #122275 - RalfJung:std-oom, r=workingjubilee
Browse files Browse the repository at this point in the history
disable OOM test in Miri

Needed for https://github.com/rust-lang/miri-test-libstd
  • Loading branch information
matthiaskrgr authored Mar 10, 2024
2 parents af69f4c + 1dd47e0 commit 217d004
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions library/std/src/io/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 217d004

Please sign in to comment.