2e11d9e14c
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.
7 lines
120 B
Rust
7 lines
120 B
Rust
#![allow(bad_style, improper_ctypes)]
|
|
extern crate libc;
|
|
|
|
use libc::*;
|
|
|
|
include!(concat!(env!("OUT_DIR"), "/main.rs"));
|