Skip to content

Commit

Permalink
chore: display some clippy lints in generated code
Browse files Browse the repository at this point in the history
We can not do anything about the gl_generator at this point, so just
continue disabling things clippy don't really like.
  • Loading branch information
kchibisov committed Oct 3, 2024
1 parent 884f5e3 commit 28a1339
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions glutin_egl_sys/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#![allow(clippy::missing_safety_doc)]
#![allow(clippy::manual_non_exhaustive)]
#![allow(clippy::unnecessary_cast)]
#![allow(unknown_lints, clippy::missing_transmute_annotations)]

pub mod egl;

Expand Down
1 change: 1 addition & 0 deletions glutin_gles2_sys/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#![allow(clippy::missing_safety_doc)]
#![allow(clippy::manual_non_exhaustive)]
#![allow(clippy::unnecessary_cast)]
#![allow(unknown_lints, clippy::missing_transmute_annotations)]

pub mod gles {
include!(concat!(env!("OUT_DIR"), "/gles2_bindings.rs"));
Expand Down
1 change: 1 addition & 0 deletions glutin_glx_sys/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#![allow(clippy::unused_unit)]
#![allow(clippy::redundant_static_lifetimes)]
#![allow(clippy::unnecessary_cast)]
#![allow(unknown_lints, clippy::missing_transmute_annotations)]

pub use self::glx::types::GLXContext;
pub use x11_dl::xlib::*;
Expand Down
2 changes: 2 additions & 0 deletions glutin_wgl_sys/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
#![allow(clippy::missing_safety_doc)]
#![allow(clippy::manual_non_exhaustive)]
#![allow(clippy::unnecessary_cast)]
#![allow(unused_imports)]
#![allow(unknown_lints, clippy::missing_transmute_annotations)]

/// WGL bindings
pub mod wgl {
Expand Down

0 comments on commit 28a1339

Please sign in to comment.