about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2018-12-10 10:10:42 +0200
committerSebastian Dröge <sebastian@centricular.com>2018-12-13 11:07:58 +0200
commit8de8880b7b74cb0294c6d8c75c24656130278509 (patch)
treed69d0e8bbf1e0d42146b1930d6fac51e93637378 /src/rustllvm/RustWrapper.cpp
parent5eafae22ceb0e4fae835a5eb7518a55e75061e20 (diff)
downloadrust-8de8880b7b74cb0294c6d8c75c24656130278509.tar.gz
rust-8de8880b7b74cb0294c6d8c75c24656130278509.zip
Update code comments of `c_void` to explain the reasoning for its current implementation
We need at least two variants of the enum as otherwise the compiler
complains about the #[repr(u8)] attribute and we also need at least one
variant as otherwise the enum would be uninhabitated and dereferencing
pointers to it would be UB.

As such, mark the variants not unstable because they should not actually
exist but because they are temporary implementation details until
`extern type` is stable and can be used instead.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions