libc-rs/libc-test/test/linux_termios.rs

13 lines
313 B
Rust

#![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_termios.rs"));
#[cfg(not(any(target_os = "linux", target_os = "android")))]
fn main() {
println!("PASSED 0 tests");
}