libc-rs/libc-test/test/main.rs
Bryant Mairs 2e11d9e14c Add more fcntl and seal constants for Android/Linux
We now create an additional binary `linux_fcntl` for testing this
since there are header conflicts when including all necessary headers.
This binary is run on all platforms even though it's empty on all non-
Android/non-Linux platforms.

Testing has been switched from a custom binary to using a runner-less
test (or pair of tests). This means that for local development a simple
`cd libc-test && cargo test` will run all the tests. CI has also been
updated here to reflect that.
2017-08-20 20:52:43 -07:00

7 lines
120 B
Rust

#![allow(bad_style, improper_ctypes)]
extern crate libc;
use libc::*;
include!(concat!(env!("OUT_DIR"), "/main.rs"));