LPGhatguy / crevice

Rust crate to generate GLSL structs with explicitly-initialized padding bytes
Other
73 stars 25 forks source link

Suppress warnings in generated code #62

Open john01dav opened 8 months ago

john01dav commented 8 months ago

I often develop with #![warn(missing_docs)], and the generated code from crevice's proc macros run afowl of this. Adding #[allow(warnings)] to the generated code should fix this for all custom lints (of course, when developing crevice itself and maybe by default this should not be included, so placing it behind a feature flag seems sensible to me).

john01dav commented 3 weeks ago

https://github.com/LPGhatguy/crevice/pull/67