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 0ec45c5 commit d65479d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 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,10 @@ 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 d65479d

Please sign in to comment.