about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorRobin Kruppe <robin.kruppe@gmail.com>2018-02-11 21:54:56 +0100
committerRobin Kruppe <robin.kruppe@gmail.com>2018-02-15 17:47:53 +0100
commitae92dfac5019643b8fb310de9e92f0889b0106ca (patch)
tree288a9e5df727c8786ca030eaa4a4e64178844d5a /src/rustllvm/RustWrapper.cpp
parent7ac5e96f4af8efe4a7f09a873d81006329cb5133 (diff)
downloadrust-ae92dfac5019643b8fb310de9e92f0889b0106ca.tar.gz
rust-ae92dfac5019643b8fb310de9e92f0889b0106ca.zip
[improper_ctypes] Stop complaining about repr(usize) and repr(isize) enums
This dates back to at least #26583. At the time, usize and isize were considered ffi-unsafe to nudge people away from them, but this changed in the aforementioned PR, making it inconsistent to complain about it in enum discriminants. In fact, repr(usize) is probably the best way to interface with `enum Foo : size_t { ... }`.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions