Skip to content

Commit ba4dd05

Browse files
committed
Remove overwritten cfg.skip_field() call in test_android()
1 parent c0b1ccf commit ba4dd05

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

libc-test/build.rs

-15
Original file line numberDiff line numberDiff line change
@@ -1972,21 +1972,6 @@ fn test_android(target: &str) {
19721972
(struct_ == "flock64" && (field == "l_start" || field == "l_len"))
19731973
});
19741974

1975-
cfg.skip_field(move |struct_, field| {
1976-
// this is actually a union on linux, so we can't represent it well and
1977-
// just insert some padding.
1978-
(struct_ == "siginfo_t" && field == "_pad") ||
1979-
// FIXME: `sa_sigaction` has type `sighandler_t` but that type is
1980-
// incorrect, see: https://github.com/rust-lang/libc/issues/1359
1981-
(struct_ == "sigaction" && field == "sa_sigaction") ||
1982-
// sigev_notify_thread_id is actually part of a sigev_un union
1983-
(struct_ == "sigevent" && field == "sigev_notify_thread_id") ||
1984-
// signalfd had SIGSYS fields added in Android 4.19, but CI does not have that version yet.
1985-
(struct_ == "signalfd_siginfo" && (field == "ssi_syscall" ||
1986-
field == "ssi_call_addr" ||
1987-
field == "ssi_arch"))
1988-
});
1989-
19901975
cfg.skip_field(|struct_, field| {
19911976
match (struct_, field) {
19921977
// conflicting with `p_type` macro from <resolve.h>.

0 commit comments

Comments
 (0)