We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b84742 commit f441948Copy full SHA for f441948
libc-test/build.rs
@@ -213,7 +213,6 @@ fn main() {
213
let target2 = target.clone();
214
cfg.field_name(move |struct_, field| {
215
match field {
216
- "d_namelen" if openbsd && struct_ == "dirent" => "d_namlen".to_string(),
217
"st_birthtime" if openbsd && struct_ == "stat" => "__st_birthtime".to_string(),
218
"st_birthtime_nsec" if openbsd && struct_ == "stat" => "__st_birthtimensec".to_string(),
219
// Our stat *_nsec fields normally don't actually exist but are part
src/unix/bsd/openbsdlike/openbsd.rs
@@ -17,7 +17,7 @@ s! {
17
pub d_off: ::off_t,
18
pub d_reclen: u16,
19
pub d_type: u8,
20
- pub d_namelen: u8,
+ pub d_namlen: u8,
21
__d_padding: [u8; 4],
22
pub d_name: [::c_char; 256],
23
}
0 commit comments