rust/library/std
Josh Stone 53f488aa4b 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.
2025-03-11 13:27:15 -07:00
..
benches Fix import in bench for wasm 2025-02-12 14:44:30 -08:00
src Simulate OOM for the try_oom_error test 2025-03-11 13:27:15 -07:00
tests std: Apply deprecated_safe_2024 2025-02-13 13:10:28 -08:00
build.rs Rollup merge of #137674 - heiher:enable-f16-loong, r=tgross35 2025-03-07 10:12:43 +01:00
Cargo.toml Rollup merge of #138038 - tgross35:update-builtins, r=tgross35 2025-03-06 12:22:29 -05:00