about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/allocator.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-08-21 12:50:05 +0000
committerbors <bors@rust-lang.org>2024-08-21 12:50:05 +0000
commit982c6f8721416431ec62bb0b9105c0578a9fc603 (patch)
treeef4a6b042b49bc1730b0639fe32ab76ba3f5338a /compiler/rustc_codegen_llvm/src/allocator.rs
parent59a74db37df8628f778faf75faa41958bb07a42a (diff)
parente6b0f27e00c0a6e0bb137bab837fbd5e9d2b7629 (diff)
downloadrust-982c6f8721416431ec62bb0b9105c0578a9fc603.tar.gz
rust-982c6f8721416431ec62bb0b9105c0578a9fc603.zip
Auto merge of #126556 - saethlin:layout-precondition, r=joboet
Add a precondition check for Layout::from_size_align_unchecked

Ran into this while looking into https://github.com/rust-lang/miri/issues/3679. This is of course not the cause of the ICE, but the reproducer doesn't encounter a precondition check and it ought to.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/allocator.rs')
0 files changed, 0 insertions, 0 deletions