cufile-sys 0.1.1

Raw FFI bindings for NVIDIA CuFile library
Documentation
#![allow(non_upper_case_globals)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
#![allow(improper_ctypes)]
#![doc = include_str!("../README.md")]

#[cfg(feature = "generate-bindings")]
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));

#[cfg(not(feature = "generate-bindings"))]
include!("bindings.rs");

#[cfg(test)]
mod tests {
    use super::*;

    #[test]
    fn test_constants_exist() {
        // Test that some basic constants are defined
        assert_eq!(CU_FILE_SUCCESS, 0);
        assert_eq!(CU_FILE_DRIVER_NOT_INITIALIZED, 5001);
    }
}