fswtch_sys/lib.rs
1#![allow(non_camel_case_types, non_snake_case, non_upper_case_globals)]
2#![cfg_attr(feature = "bindgen", allow(unsafe_op_in_unsafe_fn))]
3
4#[cfg(feature = "bindgen")]
5include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
6
7#[cfg(not(feature = "bindgen"))]
8mod fallback;
9
10#[cfg(not(feature = "bindgen"))]
11pub use fallback::*;