diff options
| author | Jack Wrenn <jack@wrenn.fyi> | 2024-03-13 00:11:36 +0000 |
|---|---|---|
| committer | Jack Wrenn <jack@wrenn.fyi> | 2024-03-13 15:53:48 +0000 |
| commit | 216df4a8e6358a515ba95fb1a92864d1b94c37f3 (patch) | |
| tree | 8bfa6be348f0cca0fc53705def0763e3647544b9 /compiler/rustc_codegen_llvm/src | |
| parent | a165f1f65015b1bd4afd2ec50700aaacf2e0c485 (diff) | |
| download | rust-216df4a8e6358a515ba95fb1a92864d1b94c37f3.tar.gz rust-216df4a8e6358a515ba95fb1a92864d1b94c37f3.zip | |
safe transmute: require that src referent is smaller than dst
The source referent absolutely must be smaller than the destination referent of a ref-to-ref transmute; the excess bytes referenced cannot arise from thin air, even if those bytes are uninitialized.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
