aboutsummaryrefslogtreecommitdiff
path: root/libc/libc-test/test/linux_elf.rs
blob: d149c9aaff38e043bc437120cf5263f4983e19ec (plain)
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(target_os = "linux")]
include!(concat!(env!("OUT_DIR"), "/linux_elf.rs"));

#[cfg(not(target_os = "linux"))]
fn main() {
    println!("PASSED 0 tests");
}