skip roundtrip on few struct on OpenBSD

This commit is contained in:
Sébastien Marie 2019-08-05 09:14:42 +02:00
parent 2b01f7e673
commit 04c7f1166c
1 changed files with 5 additions and 0 deletions

View File

@ -369,6 +369,11 @@ fn test_openbsd(target: &str) {
(struct_ == "siginfo_t" && field == "si_addr")
});
cfg.skip_roundtrip(move |s| match s {
"dirent" | "utsname" | "utmp" => true,
_ => false,
});
cfg.generate("../src/lib.rs", "main.rs");
}