Skip to content

Commit b81a234

Browse files
committed
Silence roundtrip in linux
1 parent 5e3866a commit b81a234

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

libc-test/build.rs

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ fn test_apple(target: &str) {
225225
}
226226
});
227227

228-
cfg.skip_roundtrip(|s| match s {
228+
cfg.skip_roundtrip(move |s| match s {
229229
// FIXME: TODO
230230
"utsname" | "statfs" | "dirent" | "utmpx" => true,
231231
_ => false,
@@ -2259,6 +2259,19 @@ fn test_linux(target: &str) {
22592259
field == "ssi_arch"))
22602260
});
22612261

2262+
cfg.skip_roundtrip(move |s| match s {
2263+
// FIXME: TODO
2264+
"_libc_fpstate" | "user_fpregs_struct" if x86_64 => true,
2265+
"utsname"
2266+
| "statx"
2267+
| "dirent"
2268+
| "dirent64"
2269+
| "utmpx"
2270+
| "user"
2271+
| "user_fpxregs_struct" => true,
2272+
_ => false,
2273+
});
2274+
22622275
cfg.generate("../src/lib.rs", "main.rs");
22632276

22642277
test_linux_like_apis(target);

0 commit comments

Comments
 (0)