I believe this is should be covered by the existing ffi-safe lint. (Sadly, that lint seems a lot less potent than I thought it was, as it doesn't warm for even the simple case of returning something #[repr(Rust)]
from an extern "C" fn
.)
I believe this is should be covered by the existing ffi-safe lint. (Sadly, that lint seems a lot less potent than I thought it was, as it doesn't warm for even the simple case of returning something #[repr(Rust)]
from an extern "C" fn
.)