Skip to content

Commit ba7b6ff

Browse files
committed
Ignore some items
1 parent 13076a1 commit ba7b6ff

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

libc-test/build.rs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1778,6 +1778,11 @@ fn test_freebsd(target: &str) {
17781778
_ => false,
17791779
};
17801780

1781+
let freebsd14 = match freebsd_ver {
1782+
Some(n) if n >= 14 => true,
1783+
_ => false,
1784+
};
1785+
17811786
headers! { cfg:
17821787
"aio.h",
17831788
"arpa/inet.h",
@@ -2121,6 +2126,14 @@ fn test_freebsd(target: &str) {
21212126
// https://github.com/gnzlbg/ctest/issues/68
21222127
"lio_listio" => true,
21232128

2129+
// FIXME:
2130+
"fstat" | "stat" | "fstatat" | "lstat" | "readdir" | "readdir_r" | "kevent"
2131+
| "shmctl" | "statfs" | "fstatfs"
2132+
if freebsd14 =>
2133+
{
2134+
true
2135+
}
2136+
21242137
_ => false,
21252138
}
21262139
});

0 commit comments

Comments
 (0)