Auto merge of #1456 - semarie:openbsd-roundtrip, r=gnzlbg
skip roundtrip on few structs on OpenBSD skip roundtrip on some structs on OpenBSD. it is mostly the same than other targets: dirent, utsname, utmp.
This commit is contained in:
commit
a2b48d16f7
|
@ -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