Skip to content
Snippets Groups Projects
Commit a2b48d16 authored by bors's avatar bors
Browse files

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.
parents 7e4ece1a 04c7f116
No related branches found
No related tags found
No related merge requests found
......@@ -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");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment