I'm working on a wrapper library, where the C++ API makes heavy use of types like int32
, off_t
, etc. The compiler, and #[allow(non_camel_case_types)]
doesn't seem to help a bit.
Is there some allow value I missed that would suppress this warning? I hate to be the type who just gets used to the predictable deluge of 110 errors, but this is the API, both at the C level and bindgen output.
Also, bindgen generates things like pub const some_type_SOME_VALUE1: some_type = 2;
, where rustc complains about lower case in a const. Any way to suppress this?