Skip to content

Commit

Permalink
Ignore some items
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnTitor committed Nov 17, 2021
1 parent 13076a1 commit ba7b6ff
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions libc-test/build.rs
Expand Up @@ -1778,6 +1778,11 @@ fn test_freebsd(target: &str) {
_ => false,
};

let freebsd14 = match freebsd_ver {
Some(n) if n >= 14 => true,
_ => false,
};

headers! { cfg:
"aio.h",
"arpa/inet.h",
Expand Down Expand Up @@ -2121,6 +2126,14 @@ fn test_freebsd(target: &str) {
// https://github.com/gnzlbg/ctest/issues/68
"lio_listio" => true,

// FIXME:
"fstat" | "stat" | "fstatat" | "lstat" | "readdir" | "readdir_r" | "kevent"
| "shmctl" | "statfs" | "fstatfs"
if freebsd14 =>
{
true
}

_ => false,
}
});
Expand Down

0 comments on commit ba7b6ff

Please sign in to comment.