Silence roundtrip in linux

This commit is contained in:
gnzlbg 2019-07-03 14:39:54 +02:00
parent 5e3866ad56
commit b81a234913
1 changed files with 14 additions and 1 deletions

View File

@ -225,7 +225,7 @@ fn test_apple(target: &str) {
}
});
cfg.skip_roundtrip(|s| match s {
cfg.skip_roundtrip(move |s| match s {
// FIXME: TODO
"utsname" | "statfs" | "dirent" | "utmpx" => true,
_ => false,
@ -2259,6 +2259,19 @@ fn test_linux(target: &str) {
field == "ssi_arch"))
});
cfg.skip_roundtrip(move |s| match s {
// FIXME: TODO
"_libc_fpstate" | "user_fpregs_struct" if x86_64 => true,
"utsname"
| "statx"
| "dirent"
| "dirent64"
| "utmpx"
| "user"
| "user_fpxregs_struct" => true,
_ => false,
});
cfg.generate("../src/lib.rs", "main.rs");
test_linux_like_apis(target);