Rollup merge of #122275 - RalfJung:std-oom, r=workingjubilee

disable OOM test in Miri

Needed for https://github.com/rust-lang/miri-test-libstd
This commit is contained in:
Matthias Krüger 2024-03-10 22:16:42 +01:00 committed by GitHub
commit 217d00494f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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() {