about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-01-12 10:55:20 +0100
committerGitHub <noreply@github.com>2019-01-12 10:55:20 +0100
commitbcbf73f9c15ec46c5b7596cd62b8a6f170196409 (patch)
treeda185da114d4d97ac00d6dc1d4f2e773cd43edc7 /src/rustllvm/RustWrapper.cpp
parent1f66062b9279d9da4732696e26829fef5e4b9265 (diff)
parent928efca151b0afcff90771ef94e09f7634646082 (diff)
downloadrust-bcbf73f9c15ec46c5b7596cd62b8a6f170196409.tar.gz
rust-bcbf73f9c15ec46c5b7596cd62b8a6f170196409.zip
Rollup merge of #57511 - jethrogb:jb/fix-undef, r=cramertj
Fix undefined behavior

From the [`MaybeUninit::get_mut` docs](https://doc.rust-lang.org/std/mem/union.MaybeUninit.html):
> It is up to the caller to guarantee that the the MaybeUninit really is in an initialized state, otherwise this will immediately cause undefined behavior.

r? @joshtriplett
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions