Skip to content

Commit 49c0dc9

Browse files
committed
Don't add "struct" to "DIR" or "fd_set".
1 parent 30ed983 commit 49c0dc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libc-test/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1906,7 +1906,7 @@ fn test_wasi(target: &str) {
19061906
}
19071907

19081908
cfg.type_name(move |ty, is_struct, is_union| match ty {
1909-
"FILE" => ty.to_string(),
1909+
"FILE" | "fd_set" | "DIR" => ty.to_string(),
19101910
t if is_union => format!("union {}", t),
19111911
t if t.starts_with("__wasi") && t.ends_with("_u") => {
19121912
format!("union {}", t)

0 commit comments

Comments
 (0)