Skip to content

Commit 2aac3c3

Browse files
committed
Fix CI on emscripten
1 parent 9b61cf9 commit 2aac3c3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

libc-test/build.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2752,6 +2752,9 @@ fn test_emscripten(target: &str) {
27522752
});
27532753

27542754
cfg.skip_struct(move |ty| {
2755+
if ty.starts_with("__c_anonymous_") {
2756+
return true;
2757+
}
27552758
match ty {
27562759
// This is actually a union, not a struct
27572760
// FIXME: is this necessary?
@@ -2856,8 +2859,6 @@ fn test_emscripten(target: &str) {
28562859
// musl seems to define this as an *anonymous* bitfield
28572860
// FIXME: is this necessary?
28582861
(struct_ == "statvfs" && field == "__f_unused") ||
2859-
// sigev_notify_thread_id is actually part of a sigev_un union
2860-
(struct_ == "sigevent" && field == "sigev_notify_thread_id") ||
28612862
// signalfd had SIGSYS fields added in Linux 4.18, but no libc release has them yet.
28622863
(struct_ == "signalfd_siginfo" && (field == "ssi_addr_lsb" ||
28632864
field == "_pad2" ||

0 commit comments

Comments
 (0)