virglrenderer_sys/lib.rs
1#![allow(non_upper_case_globals)]
2#![allow(non_camel_case_types)]
3#![allow(non_snake_case)]
4
5#[cfg(docsrs)]
6mod bindings {
7 // committed pre-generated bindings
8 include!("bindings.rs");
9}
10
11#[cfg(not(docsrs))]
12mod bindings {
13 // generated by build.rs (bindgen) in normal builds
14 include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
15}
16
17pub use bindings::*;