Skip to content

Commit fd5b78c

Browse files
authored
Merge pull request #4210 from tgross35/openbsd-build
Skip `c_char_def` on OpenBSD
2 parents 5f41b7a + 9ff3409 commit fd5b78c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

libc-test/build.rs

+5
Original file line numberDiff line numberDiff line change
@@ -603,6 +603,11 @@ fn test_openbsd(target: &str) {
603603
}
604604
});
605605

606+
cfg.skip_type(move |ty| {
607+
// `c_char_def` is always public but not always reexported.
608+
ty == "c_char_def"
609+
});
610+
606611
cfg.type_name(move |ty, is_struct, is_union| {
607612
match ty {
608613
// Just pass all these through, no need for a "struct" prefix

0 commit comments

Comments
 (0)