@@ -364,9 +364,6 @@ fn test_apple(target: &str) {
364
364
// FIXME: "'__uint128' undeclared" in C
365
365
"__uint128" => true ,
366
366
367
- // `c_char_def` is always public but not always reexported.
368
- "c_char_def" => true ,
369
-
370
367
_ => false ,
371
368
}
372
369
} ) ;
@@ -766,8 +763,6 @@ fn test_windows(target: &str) {
766
763
"ssize_t" if !gnu => true ,
767
764
// FIXME: The size and alignment of this type are incorrect
768
765
"time_t" if gnu && i686 => true ,
769
- // `c_char_def` is always public but not always reexported.
770
- "c_char_def" => true ,
771
766
_ => false ,
772
767
} ) ;
773
768
@@ -985,8 +980,6 @@ fn test_solarish(target: &str) {
985
980
986
981
cfg. skip_type ( move |ty| match ty {
987
982
"sighandler_t" => true ,
988
- // `c_char_def` is always public but not always reexported.
989
- "c_char_def" => true ,
990
983
_ => false ,
991
984
} ) ;
992
985
@@ -1290,8 +1283,6 @@ fn test_netbsd(target: &str) {
1290
1283
match ty {
1291
1284
// FIXME: sighandler_t is crazy across platforms
1292
1285
"sighandler_t" => true ,
1293
- // `c_char_def` is always public but not always reexported.
1294
- "c_char_def" => true ,
1295
1286
_ => false ,
1296
1287
}
1297
1288
} ) ;
@@ -1511,8 +1502,6 @@ fn test_dragonflybsd(target: &str) {
1511
1502
match ty {
1512
1503
// sighandler_t is crazy across platforms
1513
1504
"sighandler_t" => true ,
1514
- // `c_char_def` is always public but not always reexported.
1515
- "c_char_def" => true ,
1516
1505
_ => false ,
1517
1506
}
1518
1507
} ) ;
@@ -1674,8 +1663,6 @@ fn test_wasi(target: &str) {
1674
1663
}
1675
1664
} ) ;
1676
1665
1677
- cfg. skip_type ( |ty| ty == "c_char_def" ) ;
1678
-
1679
1666
// These have a different and internal type in header files and are only
1680
1667
// used here to generate a pointer to them in bindings so skip these tests.
1681
1668
cfg. skip_static ( |c| c. starts_with ( "_CLOCK_" ) ) ;
@@ -1924,9 +1911,6 @@ fn test_android(target: &str) {
1924
1911
// FIXME: "'__uint128' undeclared" in C
1925
1912
"__uint128" => true ,
1926
1913
1927
- // `c_char_def` is always public but not always reexported.
1928
- "c_char_def" => true ,
1929
-
1930
1914
_ => false ,
1931
1915
}
1932
1916
} ) ;
@@ -2689,9 +2673,6 @@ fn test_freebsd(target: &str) {
2689
2673
// `eventfd(2)` and things come with it are added in FreeBSD 13
2690
2674
"eventfd_t" if Some ( 13 ) > freebsd_ver => true ,
2691
2675
2692
- // `c_char_def` is always public but not always reexported.
2693
- "c_char_def" => true ,
2694
-
2695
2676
_ => false ,
2696
2677
}
2697
2678
} ) ;
@@ -3012,9 +2993,6 @@ fn test_emscripten(target: &str) {
3012
2993
// https://github.com/emscripten-core/emscripten/issues/5033
3013
2994
ty if ty. starts_with ( "epoll" ) => true ,
3014
2995
3015
- // `c_char_def` is always public but not always reexported.
3016
- "c_char_def" => true ,
3017
-
3018
2996
// LFS64 types have been removed in Emscripten 3.1.44
3019
2997
// https://github.com/emscripten-core/emscripten/pull/19812
3020
2998
t => t. ends_with ( "64" ) || t. ends_with ( "64_t" ) ,
@@ -3286,9 +3264,6 @@ fn test_neutrino(target: &str) {
3286
3264
// Does not exist in Neutrino
3287
3265
"locale_t" => true ,
3288
3266
3289
- // `c_char_def` is always public but not always reexported.
3290
- "c_char_def" => true ,
3291
-
3292
3267
_ => false ,
3293
3268
}
3294
3269
} ) ;
@@ -3455,8 +3430,6 @@ fn test_vxworks(target: &str) {
3455
3430
// FIXME
3456
3431
cfg. skip_type ( move |ty| match ty {
3457
3432
"stat64" | "sighandler_t" | "off64_t" => true ,
3458
- // `c_char_def` is always public but not always reexported.
3459
- "c_char_def" => true ,
3460
3433
_ => false ,
3461
3434
} ) ;
3462
3435
@@ -3804,9 +3777,6 @@ fn test_linux(target: &str) {
3804
3777
// FIXME: "'__uint128' undeclared" in C
3805
3778
"__uint128" => true ,
3806
3779
3807
- // `c_char_def` is always public but not always reexported.
3808
- "c_char_def" => true ,
3809
-
3810
3780
t => {
3811
3781
if musl {
3812
3782
// LFS64 types have been removed in musl 1.2.4+
@@ -4036,7 +4006,7 @@ fn test_linux(target: &str) {
4036
4006
}
4037
4007
// FIXME: Requires >= 5.4 kernel headers
4038
4008
if name == "PTP_CLOCK_GETCAPS2"
4039
- || name == "PTP_ENABLE_PPS2"
4009
+ || name == "PTP_ENABLE_PPS2"
4040
4010
|| name == "PTP_EXTTS_REQUEST2"
4041
4011
|| name == "PTP_PEROUT_REQUEST2"
4042
4012
|| name == "PTP_PIN_GETFUNC2"
@@ -4759,8 +4729,6 @@ fn test_linux_like_apis(target: &str) {
4759
4729
} )
4760
4730
. skip_type ( move |ty| match ty {
4761
4731
"Elf64_Phdr" | "Elf32_Phdr" => false ,
4762
- // `c_char_def` is always public but not always reexported.
4763
- "c_char_def" => true ,
4764
4732
_ => true ,
4765
4733
} ) ;
4766
4734
cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "linux_elf.rs" ) ;
@@ -4996,8 +4964,6 @@ fn test_haiku(target: &str) {
4996
4964
"pthread_condattr_t" => true ,
4997
4965
"pthread_mutexattr_t" => true ,
4998
4966
"pthread_rwlockattr_t" => true ,
4999
- // `c_char_def` is always public but not always reexported.
5000
- "c_char_def" => true ,
5001
4967
_ => false ,
5002
4968
}
5003
4969
} ) ;
0 commit comments