diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-11-20 18:21:48 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-20 18:21:48 +0100 |
| commit | db5f005f35ee8abdf772d518fea09fcadd97fb43 (patch) | |
| tree | 05543385b1c9ac898b95f27cad01361726721bdf /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs | |
| parent | 820a41580efb5c67df02dc511c2465d71b0e9f61 (diff) | |
| parent | d26659d61153922fdd44485b409747566661a674 (diff) | |
| download | rust-db5f005f35ee8abdf772d518fea09fcadd97fb43.tar.gz rust-db5f005f35ee8abdf772d518fea09fcadd97fb43.zip | |
Rollup merge of #104568 - RalfJung:realloc, r=Amanieu
clarify that realloc refreshes pointer provenance even when the allocation remains in-place This [matches what C does](https://en.cppreference.com/w/c/memory/realloc): > The original pointer ptr is invalidated and any access to it is undefined behavior (even if reallocation was in-place). Cc `@rust-lang/wg-allocators`
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs')
0 files changed, 0 insertions, 0 deletions
