diff options
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -2,10 +2,15 @@ #![allow(non_camel_case_types)] #![allow(non_snake_case)] +#[cfg(not(feature = "bindgen"))] mod ffi; +#[cfg(not(feature = "bindgen"))] pub use crate::ffi::*; +#[cfg(feature = "bindgen")] +include!(concat!(env!("OUT_DIR"), "/bindings.rs")); + #[cfg(test)] mod tests { use super::*; |