Files
rust/library
Matthias Krüger 3bfce83cb2 Rollup merge of #138370 - cuviper:try_oom_error, r=jhpratt
Simulate OOM for the `try_oom_error` test

We can create the expected error manually, rather than trying to produce
a real one, so the error conversion test can run on all targets. Before,
it was only running on 64-bit and not miri.

In Fedora, we also found that s390x was not getting the expected error,
"successfully" allocating the huge size because it was optimizing the
real `malloc` call away. It's possible to counter that by looking at the
pointer in any way, like a debug print, but it's more robust to just
deal with errors directly, since this test is only about conversion.

Related: #133806
2025-03-13 10:58:24 +01:00
..
2025-03-07 19:11:13 +00:00
2025-02-13 14:32:50 -08:00
2025-03-10 12:20:05 +01:00
2025-02-09 17:11:13 +00:00
2025-03-06 11:11:55 -08:00
2025-03-11 09:46:34 -07:00
2025-03-09 15:38:29 -07:00