about summary refs log tree commit diff
path: root/tests/codegen-llvm/enum/enum-aggregate.rs
diff options
context:
space:
mode:
authorStuart Cook <Zalathar@users.noreply.github.com>2025-08-30 20:29:05 +1000
committerGitHub <noreply@github.com>2025-08-30 20:29:05 +1000
commit6421031e5765cf9bae01edb5f0d6c1d2cc25a927 (patch)
tree23a8fc12b0f11b4d7c501d314a451fe1a286d98b /tests/codegen-llvm/enum/enum-aggregate.rs
parentb53c72ffaaf10e17fef5deb063f2f3f3bc13c171 (diff)
parenta3208108b0b2b98004dac023aaeb794c1ec9149a (diff)
downloadrust-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