Browse Source

Merge pull request #24 from ian-h-chamberlain/improve-ctru-sys-ide

Use a module for bindings instead of `include!`
pull/14/head
Meziu 3 years ago committed by GitHub
parent
commit
bc16fb6d06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 12
      ctru-sys/src/lib.rs

12
ctru-sys/src/lib.rs

@ -1,7 +1,9 @@ @@ -1,7 +1,9 @@
#![allow(non_upper_case_globals)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
#![allow(clippy::all)]
#![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…
Cancel
Save