Skip to content

Commit 860a1bd

Browse files
committed
fixup
1 parent a82f231 commit 860a1bd

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

libc-test/build.rs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1598,6 +1598,9 @@ fn test_freebsd(target: &str) {
15981598
true
15991599
}
16001600

1601+
// FIXME: This constant has a different value in FreeBSD 10:
1602+
"RLIM_NLIMITS" if Some(10) == freebsd_ver => true,
1603+
16011604
// FIXME: There are deprecated - remove in a couple of releases.
16021605
// These constants were removed in FreeBSD 11 (svn r273250) but will
16031606
// still be accepted and ignored at runtime.
@@ -1634,6 +1637,14 @@ fn test_freebsd(target: &str) {
16341637
}
16351638
});
16361639

1640+
cfg.skip_signededness(move |c| {
1641+
match c {
1642+
// FIXME: has a different sign in FreeBSD10
1643+
"blksize_t" if Some(10) == freebsd_ver => true,
1644+
_ => false,
1645+
}
1646+
});
1647+
16371648
cfg.volatile_item(|i| {
16381649
use ctest::VolatileItemKind::*;
16391650
match i {

0 commit comments

Comments
 (0)