Skip to content

Commit 8fca383

Browse files
committed
WIP
1 parent fe71dba commit 8fca383

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

libc-test/build.rs

+10-6
Original file line numberDiff line numberDiff line change
@@ -1677,6 +1677,16 @@ fn test_freebsd(target: &str) {
16771677
}
16781678
});
16791679

1680+
cfg.skip_type(move |ty| {
1681+
match ty {
1682+
// sighandler_t is crazy across platforms
1683+
// FIXME: still required?
1684+
"sighandler_t" => true,
1685+
1686+
_ => false,
1687+
}
1688+
});
1689+
16801690
cfg.skip_struct(move |ty| {
16811691
match ty {
16821692
// This is actually a union, not a struct
@@ -1711,12 +1721,6 @@ fn test_freebsd(target: &str) {
17111721
// FIXME: still required?
17121722
"SIGUNUSED" => true, // removed in glibc 2.26
17131723

1714-
// weird signed extension or something like that?
1715-
// FIXME: still required?
1716-
"MS_NOUSER" => true,
1717-
// FIXME: still required?
1718-
"MS_RMT_MASK" => true, // updated in glibc 2.22 and musl 1.1.13
1719-
17201724
// These constants were removed in FreeBSD 11 (svn r273250) but will
17211725
// still be accepted and ignored at runtime.
17221726
"MAP_RENAME" | "MAP_NORESERVE" => true,

0 commit comments

Comments
 (0)