@@ -1627,66 +1627,18 @@ fn test_freebsd(target: &str) {
1627
1627
cfg. skip_fn ( move |name| {
1628
1628
// skip those that are manually verified
1629
1629
match name {
1630
- // FIXME: still required?
1631
- "execv" | // crazy stuff with const/mut
1632
- "execve" |
1633
- "execvp" |
1634
- "execvpe" |
1635
- "fexecve" => true ,
1630
+ // FIXME: https://github.com/rust-lang/libc/issues/1272
1631
+ "execv" | "execve" | "execvp" | "execvpe" | "fexecve" => true ,
1636
1632
1637
1633
// The `uname` function in freebsd is now an inline wrapper that
1638
1634
// delegates to another, but the symbol still exists, so don't check
1639
1635
// the symbol.
1640
1636
"uname" => true ,
1641
1637
1642
- // aio_waitcomplete's return type changed between FreeBSD 10 and 11.
1643
- // FIXME: still required?
1644
- "aio_waitcomplete" => true ,
1645
-
1646
- // lio_listio confuses the checker, probably because one of its
1647
- // arguments is an array
1648
- // FIXME: still required?
1649
- "lio_listio" => true ,
1650
-
1651
1638
_ => false ,
1652
1639
}
1653
1640
} ) ;
1654
1641
1655
- cfg. skip_field_type ( move |struct_, field| {
1656
- // This is a weird union, don't check the type.
1657
- // FIXME: still required?
1658
- ( struct_ == "ifaddrs" && field == "ifa_ifu" ) ||
1659
- // FIXME: still required?
1660
- // sighandler_t type is super weird
1661
- ( struct_ == "sigaction" && field == "sa_sigaction" ) ||
1662
- // FIXME: still required?
1663
- // sigval is actually a union, but we pretend it's a struct
1664
- ( struct_ == "sigevent" && field == "sigev_value" ) ||
1665
- // aio_buf is "volatile void*" and Rust doesn't understand volatile
1666
- // FIXME: still required?
1667
- ( struct_ == "aiocb" && field == "aio_buf" ) ||
1668
- // stack_t.ss_sp's type changed from FreeBSD 10 to 11 in svn r294930
1669
- // FIXME: still required?
1670
- ( struct_ == "stack_t" && field == "ss_sp" )
1671
- } ) ;
1672
-
1673
- cfg. skip_field ( move |struct_, field| {
1674
- // this is actually a union on linux, so we can't represent it well and
1675
- // just insert some padding.
1676
- // FIXME: still required?
1677
- ( struct_ == "siginfo_t" && field == "_pad" ) ||
1678
- // sigev_notify_thread_id is actually part of a sigev_un union
1679
- // FIXME: still required?
1680
- ( struct_ == "sigevent" && field == "sigev_notify_thread_id" ) ||
1681
- // signalfd had SIGSYS fields added in Linux 4.18, but no libc release has them yet.
1682
- // FIXME: still required?
1683
- ( struct_ == "signalfd_siginfo" && ( field == "ssi_addr_lsb" ||
1684
- field == "_pad2" ||
1685
- field == "ssi_syscall" ||
1686
- field == "ssi_call_addr" ||
1687
- field == "ssi_arch" ) )
1688
- } ) ;
1689
-
1690
1642
cfg. generate ( "../src/lib.rs" , "main.rs" ) ;
1691
1643
}
1692
1644
0 commit comments