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 c7b6197
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(clippy::missing_transmute_annotations)]

Check failure on line 14 in glutin_egl_sys/src/lib.rs

View workflow job for this annotation

GitHub Actions / Tests (1.70.0, aarch64-linux-android, ubuntu-latest, apk --)

unknown lint: `clippy::missing_transmute_annotations`

Check failure on line 14 in glutin_egl_sys/src/lib.rs

View workflow job for this annotation

GitHub Actions / Tests (1.70.0, x86_64-unknown-linux-gnu, ubuntu-latest)

unknown lint: `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(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(clippy::missing_transmute_annotations)]

Check failure on line 13 in glutin_glx_sys/src/lib.rs

View workflow job for this annotation

GitHub Actions / Tests (1.70.0, i686-unknown-linux-gnu, ubuntu-latest)

unknown lint: `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(clippy::missing_transmute_annotations)]

Check failure on line 7 in glutin_wgl_sys/src/lib.rs

View workflow job for this annotation

GitHub Actions / Tests (1.70.0, x86_64-pc-windows-msvc, windows-latest)

unknown lint: `clippy::missing_transmute_annotations`

Check failure on line 7 in glutin_wgl_sys/src/lib.rs

View workflow job for this annotation

GitHub Actions / Tests (1.70.0, x86_64-pc-windows-gnu, windows-latest, -x86_64-pc-windows-gnu)

unknown lint: `clippy::missing_transmute_annotations`

Check failure on line 7 in glutin_wgl_sys/src/lib.rs

View workflow job for this annotation

GitHub Actions / Tests (1.70.0, i686-pc-windows-gnu, windows-latest, -i686-pc-windows-gnu)

unknown lint: `clippy::missing_transmute_annotations`

Check failure on line 7 in glutin_wgl_sys/src/lib.rs

View workflow job for this annotation

GitHub Actions / Tests (1.70.0, i686-pc-windows-msvc, windows-latest)

unknown lint: `clippy::missing_transmute_annotations`

/// WGL bindings
pub mod wgl {
Expand Down

0 comments on commit c7b6197

Please sign in to comment.