@@ -353,9 +353,6 @@ fn test_apple(target: &str) {
353353 // FIXME: "'__uint128' undeclared" in C
354354 "__uint128" => true ,
355355
356- // `c_char_def` is always public but not always reexported.
357- "c_char_def" => true ,
358-
359356 _ => false ,
360357 }
361358 } ) ;
@@ -722,8 +719,6 @@ fn test_windows(target: &str) {
722719 "ssize_t" if !gnu => true ,
723720 // FIXME: The size and alignment of this type are incorrect
724721 "time_t" if gnu && i686 => true ,
725- // `c_char_def` is always public but not always reexported.
726- "c_char_def" => true ,
727722 _ => false ,
728723 } ) ;
729724
@@ -934,8 +929,6 @@ fn test_solarish(target: &str) {
934929
935930 cfg. skip_type ( move |ty| match ty {
936931 "sighandler_t" => true ,
937- // `c_char_def` is always public but not always reexported.
938- "c_char_def" => true ,
939932 _ => false ,
940933 } ) ;
941934
@@ -1236,8 +1229,6 @@ fn test_netbsd(target: &str) {
12361229 match ty {
12371230 // FIXME: sighandler_t is crazy across platforms
12381231 "sighandler_t" => true ,
1239- // `c_char_def` is always public but not always reexported.
1240- "c_char_def" => true ,
12411232 _ => false ,
12421233 }
12431234 } ) ;
@@ -1455,8 +1446,6 @@ fn test_dragonflybsd(target: &str) {
14551446 match ty {
14561447 // sighandler_t is crazy across platforms
14571448 "sighandler_t" => true ,
1458- // `c_char_def` is always public but not always reexported.
1459- "c_char_def" => true ,
14601449 _ => false ,
14611450 }
14621451 } ) ;
@@ -1615,8 +1604,6 @@ fn test_wasi(target: &str) {
16151604 }
16161605 } ) ;
16171606
1618- cfg. skip_type ( |ty| ty == "c_char_def" ) ;
1619-
16201607 // These have a different and internal type in header files and are only
16211608 // used here to generate a pointer to them in bindings so skip these tests.
16221609 cfg. skip_static ( |c| c. starts_with ( "_CLOCK_" ) ) ;
@@ -1865,9 +1852,6 @@ fn test_android(target: &str) {
18651852 // FIXME: "'__uint128' undeclared" in C
18661853 "__uint128" => true ,
18671854
1868- // `c_char_def` is always public but not always reexported.
1869- "c_char_def" => true ,
1870-
18711855 _ => false ,
18721856 }
18731857 } ) ;
@@ -2619,9 +2603,6 @@ fn test_freebsd(target: &str) {
26192603 // `eventfd(2)` and things come with it are added in FreeBSD 13
26202604 "eventfd_t" if Some ( 13 ) > freebsd_ver => true ,
26212605
2622- // `c_char_def` is always public but not always reexported.
2623- "c_char_def" => true ,
2624-
26252606 _ => false ,
26262607 }
26272608 } ) ;
@@ -2938,9 +2919,6 @@ fn test_emscripten(target: &str) {
29382919 // https://github.com/emscripten-core/emscripten/issues/5033
29392920 ty if ty. starts_with ( "epoll" ) => true ,
29402921
2941- // `c_char_def` is always public but not always reexported.
2942- "c_char_def" => true ,
2943-
29442922 // LFS64 types have been removed in Emscripten 3.1.44
29452923 // https://github.com/emscripten-core/emscripten/pull/19812
29462924 t => t. ends_with ( "64" ) || t. ends_with ( "64_t" ) ,
@@ -3217,9 +3195,6 @@ fn test_neutrino(target: &str) {
32173195 // Does not exist in Neutrino
32183196 "locale_t" => true ,
32193197
3220- // `c_char_def` is always public but not always reexported.
3221- "c_char_def" => true ,
3222-
32233198 _ => false ,
32243199 }
32253200 } ) ;
@@ -3383,8 +3358,6 @@ fn test_vxworks(target: &str) {
33833358 // FIXME
33843359 cfg. skip_type ( move |ty| match ty {
33853360 "stat64" | "sighandler_t" | "off64_t" => true ,
3386- // `c_char_def` is always public but not always reexported.
3387- "c_char_def" => true ,
33883361 _ => false ,
33893362 } ) ;
33903363
@@ -3732,9 +3705,6 @@ fn test_linux(target: &str) {
37323705 // FIXME: "'__uint128' undeclared" in C
37333706 "__uint128" => true ,
37343707
3735- // `c_char_def` is always public but not always reexported.
3736- "c_char_def" => true ,
3737-
37383708 t => {
37393709 if musl {
37403710 // LFS64 types have been removed in musl 1.2.4+
@@ -3964,7 +3934,7 @@ fn test_linux(target: &str) {
39643934 }
39653935 // FIXME: Requires >= 5.4 kernel headers
39663936 if name == "PTP_CLOCK_GETCAPS2"
3967- || name == "PTP_ENABLE_PPS2"
3937+ || name == "PTP_ENABLE_PPS2"
39683938 || name == "PTP_EXTTS_REQUEST2"
39693939 || name == "PTP_PEROUT_REQUEST2"
39703940 || name == "PTP_PIN_GETFUNC2"
@@ -4683,8 +4653,6 @@ fn test_linux_like_apis(target: &str) {
46834653 } )
46844654 . skip_type ( move |ty| match ty {
46854655 "Elf64_Phdr" | "Elf32_Phdr" => false ,
4686- // `c_char_def` is always public but not always reexported.
4687- "c_char_def" => true ,
46884656 _ => true ,
46894657 } ) ;
46904658 cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "linux_elf.rs" ) ;
@@ -4920,8 +4888,6 @@ fn test_haiku(target: &str) {
49204888 "pthread_condattr_t" => true ,
49214889 "pthread_mutexattr_t" => true ,
49224890 "pthread_rwlockattr_t" => true ,
4923- // `c_char_def` is always public but not always reexported.
4924- "c_char_def" => true ,
49254891 _ => false ,
49264892 }
49274893 } ) ;
0 commit comments