File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -1300,6 +1300,7 @@ fn test_android(target: &str) {
1300
1300
"sys/time.h" ,
1301
1301
"sys/times.h" ,
1302
1302
"sys/types.h" ,
1303
+ "sys/ucontext.h" ,
1303
1304
"sys/uio.h" ,
1304
1305
"sys/un.h" ,
1305
1306
"sys/utsname.h" ,
@@ -1390,10 +1391,15 @@ fn test_android(target: &str) {
1390
1391
} ) ;
1391
1392
1392
1393
cfg. skip_struct ( move |ty| {
1394
+ if ty. starts_with ( "__c_anonymous_" ) {
1395
+ return true ;
1396
+ }
1393
1397
match ty {
1394
1398
// These are tested as part of the linux_fcntl tests since there are
1395
1399
// header conflicts when including them with all the other structs.
1396
1400
"termios2" => true ,
1401
+ // uc_sigmask and uc_sigmask64 of ucontext_t are an anonymous union
1402
+ "ucontext_t" => true ,
1397
1403
1398
1404
_ => false ,
1399
1405
}
You can’t perform that action at this time.
0 commit comments