We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cfd340f commit 0b4b184Copy full SHA for 0b4b184
libc-test/build.rs
@@ -344,7 +344,7 @@ fn main() {
344
}
345
346
347
- cfg.type_name(move |ty, is_struct| {
+ cfg.type_name(move |ty, is_struct, is_union| {
348
match ty {
349
// Just pass all these through, no need for a "struct" prefix
350
"FILE" |
@@ -823,7 +823,7 @@ fn main() {
823
cfg.skip_struct(|s| {
824
s != "termios2"
825
});
826
827
828
t if is_struct => format!("struct {}", t),
829
t => t.to_string(),
0 commit comments