skip roundtrip on few struct on OpenBSD
This commit is contained in:
parent
2b01f7e673
commit
04c7f1166c
@ -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");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user