@@ -1414,31 +1414,19 @@ fn test_android(target: &str) {
1414
1414
}
1415
1415
} ) ;
1416
1416
1417
- // FIXME: still necessary?
1418
1417
cfg. skip_field_type ( move |struct_, field| {
1419
1418
// This is a weird union, don't check the type.
1420
1419
( struct_ == "ifaddrs" && field == "ifa_ifu" ) ||
1421
- // sighandler_t type is super weird
1422
- ( struct_ == "sigaction" && field == "sa_sigaction" ) ||
1423
1420
// sigval is actually a union, but we pretend it's a struct
1424
- ( struct_ == "sigevent" && field == "sigev_value" ) ||
1425
- // aio_buf is "volatile void*" and Rust doesn't understand volatile
1426
- ( struct_ == "aiocb" && field == "aio_buf" )
1421
+ ( struct_ == "sigevent" && field == "sigev_value" )
1427
1422
} ) ;
1428
1423
1429
- // FIXME: still necessary?
1430
1424
cfg. skip_field ( move |struct_, field| {
1431
1425
// this is actually a union on linux, so we can't represent it well and
1432
1426
// just insert some padding.
1433
1427
( struct_ == "siginfo_t" && field == "_pad" ) ||
1434
1428
// sigev_notify_thread_id is actually part of a sigev_un union
1435
- ( struct_ == "sigevent" && field == "sigev_notify_thread_id" ) ||
1436
- // signalfd had SIGSYS fields added in Linux 4.18, but no libc release has them yet.
1437
- ( struct_ == "signalfd_siginfo" && ( field == "ssi_addr_lsb" ||
1438
- field == "_pad2" ||
1439
- field == "ssi_syscall" ||
1440
- field == "ssi_call_addr" ||
1441
- field == "ssi_arch" ) )
1429
+ ( struct_ == "sigevent" && field == "sigev_notify_thread_id" )
1442
1430
} ) ;
1443
1431
1444
1432
cfg. generate ( "../src/lib.rs" , "main.rs" ) ;
0 commit comments