File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff 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?
@@ -2844,7 +2847,7 @@ fn test_emscripten(target: &str) {
28442847 } ) ;
28452848
28462849 cfg. skip_field ( move |struct_, field| {
2847- // _sigev_un is an anonymous union
2850+ // _sigev_un is an anonymous union
28482851 ( struct_ == "sigevent" && field == "_sigev_un" ) ||
28492852 // this is actually a union on linux, so we can't represent it well and
28502853 // just insert some padding.
@@ -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" ||
You can’t perform that action at this time.
0 commit comments