Silence roundtrip in linux
This commit is contained in:
parent
5e3866ad56
commit
b81a234913
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user