diff options
Diffstat (limited to 'libc/libc-test/test/linux_ipv6.rs')
-rw-r--r-- | libc/libc-test/test/linux_ipv6.rs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libc/libc-test/test/linux_ipv6.rs b/libc/libc-test/test/linux_ipv6.rs new file mode 100644 index 0000000..83c389c --- /dev/null +++ b/libc/libc-test/test/linux_ipv6.rs @@ -0,0 +1,12 @@ +#![allow(bad_style, improper_ctypes, unused, deprecated)] + +extern crate libc; +use libc::*; + +#[cfg(target_os = "linux")] +include!(concat!(env!("OUT_DIR"), "/linux_ipv6.rs")); + +#[cfg(not(target_os = "linux"))] +fn main() { + println!("PASSED 0 tests"); +} |