Browse Source
Modules are better understood by rust-analyzer compared to macros expansion, and we can still use the same bindgen script and lint attrs.pull/24/head
Ian Chamberlain
3 years ago
1 changed files with 7 additions and 5 deletions
@ -1,7 +1,9 @@ |
|||||||
#![allow(non_upper_case_globals)] |
|
||||||
#![allow(non_camel_case_types)] |
|
||||||
#![allow(non_snake_case)] |
|
||||||
#![allow(clippy::all)] |
|
||||||
#![no_std] |
#![no_std] |
||||||
|
|
||||||
include!("bindings.rs"); |
#[allow(non_upper_case_globals)] |
||||||
|
#[allow(non_camel_case_types)] |
||||||
|
#[allow(non_snake_case)] |
||||||
|
#[allow(clippy::all)] |
||||||
|
mod bindings; |
||||||
|
|
||||||
|
pub use bindings::*; |
||||||
|
Loading…
Reference in new issue