@@ -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 } ) ;
@@ -717,8 +714,6 @@ fn test_windows(target: &str) {
717714 "ssize_t" if !gnu => true ,
718715 // FIXME: The size and alignment of this type are incorrect
719716 "time_t" if gnu && i686 => true ,
720- // `c_char_def` is always public but not always reexported.
721- "c_char_def" => true ,
722717 _ => false ,
723718 } ) ;
724719
@@ -929,8 +924,6 @@ fn test_solarish(target: &str) {
929924
930925 cfg. skip_type ( move |ty| match ty {
931926 "sighandler_t" => true ,
932- // `c_char_def` is always public but not always reexported.
933- "c_char_def" => true ,
934927 _ => false ,
935928 } ) ;
936929
@@ -1231,8 +1224,6 @@ fn test_netbsd(target: &str) {
12311224 match ty {
12321225 // FIXME: sighandler_t is crazy across platforms
12331226 "sighandler_t" => true ,
1234- // `c_char_def` is always public but not always reexported.
1235- "c_char_def" => true ,
12361227 _ => false ,
12371228 }
12381229 } ) ;
@@ -1450,8 +1441,6 @@ fn test_dragonflybsd(target: &str) {
14501441 match ty {
14511442 // sighandler_t is crazy across platforms
14521443 "sighandler_t" => true ,
1453- // `c_char_def` is always public but not always reexported.
1454- "c_char_def" => true ,
14551444 _ => false ,
14561445 }
14571446 } ) ;
@@ -1610,8 +1599,6 @@ fn test_wasi(target: &str) {
16101599 }
16111600 } ) ;
16121601
1613- cfg. skip_type ( |ty| ty == "c_char_def" ) ;
1614-
16151602 // These have a different and internal type in header files and are only
16161603 // used here to generate a pointer to them in bindings so skip these tests.
16171604 cfg. skip_static ( |c| c. starts_with ( "_CLOCK_" ) ) ;
@@ -1860,9 +1847,6 @@ fn test_android(target: &str) {
18601847 // FIXME: "'__uint128' undeclared" in C
18611848 "__uint128" => true ,
18621849
1863- // `c_char_def` is always public but not always reexported.
1864- "c_char_def" => true ,
1865-
18661850 _ => false ,
18671851 }
18681852 } ) ;
@@ -2614,9 +2598,6 @@ fn test_freebsd(target: &str) {
26142598 // `eventfd(2)` and things come with it are added in FreeBSD 13
26152599 "eventfd_t" if Some ( 13 ) > freebsd_ver => true ,
26162600
2617- // `c_char_def` is always public but not always reexported.
2618- "c_char_def" => true ,
2619-
26202601 _ => false ,
26212602 }
26222603 } ) ;
@@ -2933,9 +2914,6 @@ fn test_emscripten(target: &str) {
29332914 // https://github.com/emscripten-core/emscripten/issues/5033
29342915 ty if ty. starts_with ( "epoll" ) => true ,
29352916
2936- // `c_char_def` is always public but not always reexported.
2937- "c_char_def" => true ,
2938-
29392917 // LFS64 types have been removed in Emscripten 3.1.44
29402918 // https://github.com/emscripten-core/emscripten/pull/19812
29412919 t => t. ends_with ( "64" ) || t. ends_with ( "64_t" ) ,
@@ -3212,9 +3190,6 @@ fn test_neutrino(target: &str) {
32123190 // Does not exist in Neutrino
32133191 "locale_t" => true ,
32143192
3215- // `c_char_def` is always public but not always reexported.
3216- "c_char_def" => true ,
3217-
32183193 _ => false ,
32193194 }
32203195 } ) ;
@@ -3378,8 +3353,6 @@ fn test_vxworks(target: &str) {
33783353 // FIXME
33793354 cfg. skip_type ( move |ty| match ty {
33803355 "stat64" | "sighandler_t" | "off64_t" => true ,
3381- // `c_char_def` is always public but not always reexported.
3382- "c_char_def" => true ,
33833356 _ => false ,
33843357 } ) ;
33853358
@@ -3727,9 +3700,6 @@ fn test_linux(target: &str) {
37273700 // FIXME: "'__uint128' undeclared" in C
37283701 "__uint128" => true ,
37293702
3730- // `c_char_def` is always public but not always reexported.
3731- "c_char_def" => true ,
3732-
37333703 t => {
37343704 if musl {
37353705 // LFS64 types have been removed in musl 1.2.4+
@@ -3959,7 +3929,7 @@ fn test_linux(target: &str) {
39593929 }
39603930 // FIXME: Requires >= 5.4 kernel headers
39613931 if name == "PTP_CLOCK_GETCAPS2"
3962- || name == "PTP_ENABLE_PPS2"
3932+ || name == "PTP_ENABLE_PPS2"
39633933 || name == "PTP_EXTTS_REQUEST2"
39643934 || name == "PTP_PEROUT_REQUEST2"
39653935 || name == "PTP_PIN_GETFUNC2"
@@ -4678,8 +4648,6 @@ fn test_linux_like_apis(target: &str) {
46784648 } )
46794649 . skip_type ( move |ty| match ty {
46804650 "Elf64_Phdr" | "Elf32_Phdr" => false ,
4681- // `c_char_def` is always public but not always reexported.
4682- "c_char_def" => true ,
46834651 _ => true ,
46844652 } ) ;
46854653 cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "linux_elf.rs" ) ;
@@ -4915,8 +4883,6 @@ fn test_haiku(target: &str) {
49154883 "pthread_condattr_t" => true ,
49164884 "pthread_mutexattr_t" => true ,
49174885 "pthread_rwlockattr_t" => true ,
4918- // `c_char_def` is always public but not always reexported.
4919- "c_char_def" => true ,
49204886 _ => false ,
49214887 }
49224888 } ) ;
0 commit comments