diff options
| author | Stuart Cook <Zalathar@users.noreply.github.com> | 2025-08-30 20:29:05 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-30 20:29:05 +1000 |
| commit | 6421031e5765cf9bae01edb5f0d6c1d2cc25a927 (patch) | |
| tree | 23a8fc12b0f11b4d7c501d314a451fe1a286d98b /tests/codegen-llvm/enum/enum-aggregate.rs | |
| parent | b53c72ffaaf10e17fef5deb063f2f3f3bc13c171 (diff) | |
| parent | a3208108b0b2b98004dac023aaeb794c1ec9149a (diff) | |
| download | rust-6421031e5765cf9bae01edb5f0d6c1d2cc25a927.tar.gz rust-6421031e5765cf9bae01edb5f0d6c1d2cc25a927.zip | |
Rollup merge of #143462 - Rudxain:read_to_string_usize, r=joboet
fix(lib-std-fs): handle `usize` overflow in `read*` I assume this is a non-breaking change, as there would be an OOM `panic` anyways. This patch ensures a fast-fail when there's not enough memory to load the file. This only changes behavior on platforms where `usize` is smaller than 64bits
Diffstat (limited to 'tests/codegen-llvm/enum/enum-aggregate.rs')
0 files changed, 0 insertions, 0 deletions
