Browse Source

Disable linting for generated files

Johannes Hofmann 7 years ago
parent
commit
3d69b061b1
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      src/context.rs

+ 2
- 0
src/context.rs View File

1
 use glutin;
1
 use glutin;
2
 
2
 
3
 pub(crate) mod gl {
3
 pub(crate) mod gl {
4
+    #![allow(unknown_lints)]
5
+    #![allow(clippy)]
4
     pub use self::Gles2 as Gl;
6
     pub use self::Gles2 as Gl;
5
     include!(concat!(env!("OUT_DIR"), "/gles_bindings.rs"));
7
     include!(concat!(env!("OUT_DIR"), "/gles_bindings.rs"));
6
 }
8
 }