Skip to content

Commit 32084f7

Browse files
committed
fixup: fix ci
1 parent 19ac957 commit 32084f7

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

libc-test/build.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1409,7 +1409,7 @@ fn test_dragonflybsd(target: &str) {
14091409
// just insert some padding.
14101410
(struct_ == "siginfo_t" && field == "_pad") ||
14111411
// sigev_notify_thread_id is actually part of a sigev_un union
1412-
(struct_ == "sigevent" && field == "sigev_notify_thread_id")
1412+
(struct_ == "sigevent_0_2_126" && field == "sigev_notify_thread_id")
14131413
});
14141414

14151415
cfg.generate("../src/lib.rs", "main.rs");
@@ -1806,6 +1806,8 @@ fn test_android(target: &str) {
18061806
(struct_ == "sigaction" && field == "sa_sigaction") ||
18071807
// union field
18081808
(struct_ == "sigevent" && field == "_sigev_un") ||
1809+
// union field on the backwards-compat struct definition
1810+
(struct_ == "sigevent_0_2_126" && field == "sigev_notify_thread_id") ||
18091811
// signalfd had SIGSYS fields added in Android 4.19, but CI does not have that version yet.
18101812
(struct_ == "signalfd_siginfo" && (field == "ssi_syscall" ||
18111813
field == "ssi_call_addr" ||
@@ -2521,6 +2523,8 @@ fn test_emscripten(target: &str) {
25212523
(struct_ == "statvfs" && field == "__f_unused") ||
25222524
// union field
25232525
(struct_ == "sigevent" && field == "_sigev_un") ||
2526+
// union field on the backwards-compat struct definition
2527+
(struct_ == "sigevent_0_2_126" && field == "sigev_notify_thread_id") ||
25242528
// signalfd had SIGSYS fields added in Linux 4.18, but no libc release has them yet.
25252529
(struct_ == "signalfd_siginfo" && (field == "ssi_addr_lsb" ||
25262530
field == "_pad2" ||
@@ -3324,6 +3328,8 @@ fn test_linux(target: &str) {
33243328
(musl && struct_ == "statvfs" && field == "__f_unused") ||
33253329
// union field
33263330
(struct_ == "sigevent" && field == "_sigev_un") ||
3331+
// union field on the backwards-compat struct definition
3332+
(struct_ == "sigevent_0_2_126" && field == "sigev_notify_thread_id") ||
33273333
// signalfd had SIGSYS fields added in Linux 4.18, but no libc release
33283334
// has them yet.
33293335
(struct_ == "signalfd_siginfo" && (field == "ssi_addr_lsb" ||

0 commit comments

Comments
 (0)