@@ -353,9 +353,6 @@ fn test_apple(target: &str) {
353
353
// FIXME: "'__uint128' undeclared" in C
354
354
"__uint128" => true ,
355
355
356
- // `c_char_def` is always public but not always reexported.
357
- "c_char_def" => true ,
358
-
359
356
_ => false ,
360
357
}
361
358
} ) ;
@@ -717,8 +714,6 @@ fn test_windows(target: &str) {
717
714
"ssize_t" if !gnu => true ,
718
715
// FIXME: The size and alignment of this type are incorrect
719
716
"time_t" if gnu && i686 => true ,
720
- // `c_char_def` is always public but not always reexported.
721
- "c_char_def" => true ,
722
717
_ => false ,
723
718
} ) ;
724
719
@@ -929,8 +924,6 @@ fn test_solarish(target: &str) {
929
924
930
925
cfg. skip_type ( move |ty| match ty {
931
926
"sighandler_t" => true ,
932
- // `c_char_def` is always public but not always reexported.
933
- "c_char_def" => true ,
934
927
_ => false ,
935
928
} ) ;
936
929
@@ -1231,8 +1224,6 @@ fn test_netbsd(target: &str) {
1231
1224
match ty {
1232
1225
// FIXME: sighandler_t is crazy across platforms
1233
1226
"sighandler_t" => true ,
1234
- // `c_char_def` is always public but not always reexported.
1235
- "c_char_def" => true ,
1236
1227
_ => false ,
1237
1228
}
1238
1229
} ) ;
@@ -1450,8 +1441,6 @@ fn test_dragonflybsd(target: &str) {
1450
1441
match ty {
1451
1442
// sighandler_t is crazy across platforms
1452
1443
"sighandler_t" => true ,
1453
- // `c_char_def` is always public but not always reexported.
1454
- "c_char_def" => true ,
1455
1444
_ => false ,
1456
1445
}
1457
1446
} ) ;
@@ -1610,8 +1599,6 @@ fn test_wasi(target: &str) {
1610
1599
}
1611
1600
} ) ;
1612
1601
1613
- cfg. skip_type ( |ty| ty == "c_char_def" ) ;
1614
-
1615
1602
// These have a different and internal type in header files and are only
1616
1603
// used here to generate a pointer to them in bindings so skip these tests.
1617
1604
cfg. skip_static ( |c| c. starts_with ( "_CLOCK_" ) ) ;
@@ -1860,9 +1847,6 @@ fn test_android(target: &str) {
1860
1847
// FIXME: "'__uint128' undeclared" in C
1861
1848
"__uint128" => true ,
1862
1849
1863
- // `c_char_def` is always public but not always reexported.
1864
- "c_char_def" => true ,
1865
-
1866
1850
_ => false ,
1867
1851
}
1868
1852
} ) ;
@@ -2614,9 +2598,6 @@ fn test_freebsd(target: &str) {
2614
2598
// `eventfd(2)` and things come with it are added in FreeBSD 13
2615
2599
"eventfd_t" if Some ( 13 ) > freebsd_ver => true ,
2616
2600
2617
- // `c_char_def` is always public but not always reexported.
2618
- "c_char_def" => true ,
2619
-
2620
2601
_ => false ,
2621
2602
}
2622
2603
} ) ;
@@ -2933,9 +2914,6 @@ fn test_emscripten(target: &str) {
2933
2914
// https://github.com/emscripten-core/emscripten/issues/5033
2934
2915
ty if ty. starts_with ( "epoll" ) => true ,
2935
2916
2936
- // `c_char_def` is always public but not always reexported.
2937
- "c_char_def" => true ,
2938
-
2939
2917
// LFS64 types have been removed in Emscripten 3.1.44
2940
2918
// https://github.com/emscripten-core/emscripten/pull/19812
2941
2919
t => t. ends_with ( "64" ) || t. ends_with ( "64_t" ) ,
@@ -3212,9 +3190,6 @@ fn test_neutrino(target: &str) {
3212
3190
// Does not exist in Neutrino
3213
3191
"locale_t" => true ,
3214
3192
3215
- // `c_char_def` is always public but not always reexported.
3216
- "c_char_def" => true ,
3217
-
3218
3193
_ => false ,
3219
3194
}
3220
3195
} ) ;
@@ -3378,8 +3353,6 @@ fn test_vxworks(target: &str) {
3378
3353
// FIXME
3379
3354
cfg. skip_type ( move |ty| match ty {
3380
3355
"stat64" | "sighandler_t" | "off64_t" => true ,
3381
- // `c_char_def` is always public but not always reexported.
3382
- "c_char_def" => true ,
3383
3356
_ => false ,
3384
3357
} ) ;
3385
3358
@@ -3727,9 +3700,6 @@ fn test_linux(target: &str) {
3727
3700
// FIXME: "'__uint128' undeclared" in C
3728
3701
"__uint128" => true ,
3729
3702
3730
- // `c_char_def` is always public but not always reexported.
3731
- "c_char_def" => true ,
3732
-
3733
3703
t => {
3734
3704
if musl {
3735
3705
// LFS64 types have been removed in musl 1.2.4+
@@ -3959,7 +3929,7 @@ fn test_linux(target: &str) {
3959
3929
}
3960
3930
// FIXME: Requires >= 5.4 kernel headers
3961
3931
if name == "PTP_CLOCK_GETCAPS2"
3962
- || name == "PTP_ENABLE_PPS2"
3932
+ || name == "PTP_ENABLE_PPS2"
3963
3933
|| name == "PTP_EXTTS_REQUEST2"
3964
3934
|| name == "PTP_PEROUT_REQUEST2"
3965
3935
|| name == "PTP_PIN_GETFUNC2"
@@ -4678,8 +4648,6 @@ fn test_linux_like_apis(target: &str) {
4678
4648
} )
4679
4649
. skip_type ( move |ty| match ty {
4680
4650
"Elf64_Phdr" | "Elf32_Phdr" => false ,
4681
- // `c_char_def` is always public but not always reexported.
4682
- "c_char_def" => true ,
4683
4651
_ => true ,
4684
4652
} ) ;
4685
4653
cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "linux_elf.rs" ) ;
@@ -4915,8 +4883,6 @@ fn test_haiku(target: &str) {
4915
4883
"pthread_condattr_t" => true ,
4916
4884
"pthread_mutexattr_t" => true ,
4917
4885
"pthread_rwlockattr_t" => true ,
4918
- // `c_char_def` is always public but not always reexported.
4919
- "c_char_def" => true ,
4920
4886
_ => false ,
4921
4887
}
4922
4888
} ) ;
0 commit comments