about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-08-22 08:54:26 +0000
committerbors <bors@rust-lang.org>2024-08-22 08:54:26 +0000
commit695a4f918a18a73f5f2f100a9448318891f6f648 (patch)
tree2b5f595ed4379e8a9fc0af5d8a23695dd77b6c06 /compiler/rustc_codegen_llvm/src
parent41c65e6350dd0958e810ce8b45b6921ec8a3c098 (diff)
parentfbdc191fdc71faa65f38c35c7b3d97ba992fa9a7 (diff)
downloadrust-695a4f918a18a73f5f2f100a9448318891f6f648.tar.gz
rust-695a4f918a18a73f5f2f100a9448318891f6f648.zip
Auto merge of #3832 - RalfJung:epoll-test, r=oli-obk
epoll test: avoid some subtly dangling pointers

Turns out `let data = MaybeUninit::<u64>::uninit().as_ptr();` is a dangling pointer, the memory gets freed at the end of that line. For these cases we don't care as we don't actually access the pointer, but let's not do such subtle things.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions