Skip to content

Commit ab41f7a

Browse files
committed
Skip uc_sigmask64 on skip_field
1 parent 8d6d84b commit ab41f7a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libc-test/build.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -1410,8 +1410,6 @@ fn test_android(target: &str) {
14101410
// These are tested as part of the linux_fcntl tests since there are
14111411
// header conflicts when including them with all the other structs.
14121412
"termios2" => true,
1413-
// uc_sigmask and uc_sigmask64 of ucontext_t are an anonymous union
1414-
"ucontext_t" => true,
14151413

14161414
_ => false,
14171415
}
@@ -1478,7 +1476,9 @@ fn test_android(target: &str) {
14781476
// signalfd had SIGSYS fields added in Android 4.19, but CI does not have that version yet.
14791477
(struct_ == "signalfd_siginfo" && (field == "ssi_syscall" ||
14801478
field == "ssi_call_addr" ||
1481-
field == "ssi_arch"))
1479+
field == "ssi_arch")) ||
1480+
// uc_sigmask and uc_sigmask64 of ucontext_t are an anonymous union
1481+
(struct_ == "ucontext_t" && field == "uc_sigmask__c_anonymous_union")
14821482
});
14831483

14841484
cfg.generate("../src/lib.rs", "main.rs");

0 commit comments

Comments
 (0)