getditto / safer_ffi

Write safer FFI code in Rust without polluting it with unsafe code
http://getditto.github.io/safer_ffi
MIT License
925 stars 40 forks source link

Using #[allow] on types breaks proc macros #140

Open TheButlah opened 2 years ago

TheButlah commented 2 years ago

I tried to use #[allow(non_camel_case_types, non_snake_case)] on some of my functions and structs that I've tagged with #[ffi_export] and #[derive_ReprC]. It looks as though adding the allow causes the proc macro to silently omit those items from the outputted source code.