about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-11-13 01:08:13 +0000
committerbors <bors@rust-lang.org>2018-11-13 01:08:13 +0000
commitc4371c854f5c7f734563f61a666e0ae230024c17 (patch)
treedf126b4f730843323311b80db9a3f0138f00668d /src/rustllvm/RustWrapper.cpp
parent65204a97d4876b897df0a70c0b9248b57e2bf057 (diff)
parent4210ccad140790df7b4fa0438637d39cad3701b9 (diff)
downloadrust-c4371c854f5c7f734563f61a666e0ae230024c17.tar.gz
rust-c4371c854f5c7f734563f61a666e0ae230024c17.zip
Auto merge of #55052 - newpavlov:patch-2, r=alexcrichton
Use read_unaligned instead of read in transmute_copy

Closes: #55044

This change could result in performance regression on non-x86 platforms. (but it also can fix some of UB which lurks in existing programs) An alternative would be to update `transmute_copy` documentation with alignment requirements.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions