Sean1708 / rusty-cheddar

A Rust crate for automatically generating C header files from Rust source file.
http://sean1708.github.io/rusty-cheddar/
191 stars 25 forks source link

Add more warnings and errors. #13

Open Sean1708 opened 8 years ago

Sean1708 commented 8 years ago

But only when it makes sense.

For example a public C function which is not #[no_mangle] is likely that way because the author forgot to include it. On the other hand, a public struct is quite likely to be not intended to be used from C so we don't want to warn about that.

Combinations which should be warned:

Sean1708 commented 8 years ago