@@ -225,12 +225,6 @@ fn test_apple(target: &str) {
225
225
}
226
226
} ) ;
227
227
228
- cfg. skip_roundtrip ( move |s| match s {
229
- // FIXME: TODO
230
- "utsname" | "statfs" | "dirent" | "utmpx" => true ,
231
- _ => false ,
232
- } ) ;
233
-
234
228
cfg. generate ( "../src/lib.rs" , "main.rs" ) ;
235
229
}
236
230
@@ -370,11 +364,6 @@ fn test_openbsd(target: &str) {
370
364
( struct_ == "siginfo_t" && field == "si_addr" )
371
365
} ) ;
372
366
373
- cfg. skip_roundtrip ( move |s| match s {
374
- "dirent" | "utsname" | "utmp" => true ,
375
- _ => false ,
376
- } ) ;
377
-
378
367
cfg. generate ( "../src/lib.rs" , "main.rs" ) ;
379
368
}
380
369
@@ -479,11 +468,6 @@ fn test_windows(target: &str) {
479
468
}
480
469
} ) ;
481
470
482
- cfg. skip_roundtrip ( move |s| match s {
483
- "dirent" | "statfs" | "utsname" | "utmpx" => true ,
484
- _ => false ,
485
- } ) ;
486
-
487
471
cfg. generate ( "../src/lib.rs" , "main.rs" ) ;
488
472
}
489
473
@@ -1438,13 +1422,6 @@ fn test_android(target: &str) {
1438
1422
field == "ssi_arch" ) )
1439
1423
} ) ;
1440
1424
1441
- let bit64 = target. contains ( "64" ) ;
1442
- cfg. skip_roundtrip ( move |s| match s {
1443
- "utsname" | "dirent" | "dirent64" => true ,
1444
- "utmp" if bit64 => true ,
1445
- _ => false ,
1446
- } ) ;
1447
-
1448
1425
cfg. generate ( "../src/lib.rs" , "main.rs" ) ;
1449
1426
1450
1427
test_linux_like_apis ( target) ;
@@ -1648,11 +1625,6 @@ fn test_freebsd(target: &str) {
1648
1625
( struct_ == "sigaction" && field == "sa_sigaction" )
1649
1626
} ) ;
1650
1627
1651
- cfg. skip_roundtrip ( move |s| match s {
1652
- "dirent" | "statfs" | "utsname" | "utmpx" => true ,
1653
- _ => false ,
1654
- } ) ;
1655
-
1656
1628
cfg. generate ( "../src/lib.rs" , "main.rs" ) ;
1657
1629
}
1658
1630
@@ -1857,15 +1829,6 @@ fn test_emscripten(target: &str) {
1857
1829
field == "ssi_arch" ) )
1858
1830
} ) ;
1859
1831
1860
- cfg. skip_roundtrip ( move |s| match s {
1861
- "pthread_mutexattr_t"
1862
- | "utsname"
1863
- | "dirent"
1864
- | "dirent64"
1865
- | "sysinfo" => true ,
1866
- _ => false ,
1867
- } ) ;
1868
-
1869
1832
// FIXME: test linux like
1870
1833
cfg. generate ( "../src/lib.rs" , "main.rs" ) ;
1871
1834
}
@@ -2291,17 +2254,11 @@ fn test_linux(target: &str) {
2291
2254
} ) ;
2292
2255
2293
2256
cfg. skip_roundtrip ( move |s| match s {
2294
- // FIXME: TODO
2295
- "_libc_fpstate" | "user_fpregs_struct" if x86_64 => true ,
2296
- "utsname"
2297
- | "statx"
2298
- | "dirent"
2299
- | "dirent64"
2300
- | "utmpx"
2301
- | "user"
2302
- | "user_fpxregs_struct" => true ,
2303
- "sysinfo" if musl => true ,
2304
- "ucontext_t" if x86_64 && musl => true ,
2257
+ // FIXME:
2258
+ "utsname" if mips32 || mips64 => true ,
2259
+ // FIXME:
2260
+ "mcontext_t" if s390x => true ,
2261
+
2305
2262
"sockaddr_un" | "sembuf" | "ff_constant_effect"
2306
2263
if mips32 && ( gnu || musl) =>
2307
2264
{
@@ -2328,7 +2285,6 @@ fn test_linux(target: &str) {
2328
2285
{
2329
2286
true
2330
2287
}
2331
- "mcontext_t" if s390x => true ,
2332
2288
2333
2289
_ => false ,
2334
2290
} ) ;
0 commit comments