about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/common.rs
diff options
context:
space:
mode:
authorBlackHoleFox <blackholefoxdev@gmail.com>2022-08-08 18:49:12 -0700
committerBlackHoleFox <blackholefoxdev@gmail.com>2022-08-08 18:49:17 -0700
commit0cf950375140ab293ad5af1e7a59556335c409da (patch)
treeede47a2e5ba76f78f91278ec327d12962dcd0424 /compiler/rustc_codegen_llvm/src/common.rs
parentf03ce30962cf1b2a5158667eabae8bf6e8d1cb03 (diff)
downloadrust-0cf950375140ab293ad5af1e7a59556335c409da.tar.gz
rust-0cf950375140ab293ad5af1e7a59556335c409da.zip
Replace pointer casting in hashmap_random_keys with safe code
The old code was unnecessarily unsafe and relied on the layout
of tuples always being the same as an array of the same size.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/common.rs')
0 files changed, 0 insertions, 0 deletions