1 2 3 4 5 6 7 8 9 10 11 12
#![allow(bad_style, improper_ctypes, unused, deprecated)] extern crate libc; use libc::*; #[cfg(any(target_os = "linux", target_os = "android"))] include!(concat!(env!("OUT_DIR"), "/linux_fcntl.rs")); #[cfg(not(any(target_os = "linux", target_os = "android")))] fn main() { println!("PASSED 0 tests"); }