We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99e3373 commit 56a04abCopy full SHA for 56a04ab
libc-test/build.rs
@@ -2471,6 +2471,8 @@ fn test_freebsd(target: &str) {
2471
"type_" if struct_ == "sockstat" => "type".to_string(),
2472
"type_" if struct_ == "devstat_match_table" => "type".to_string(),
2473
"type_" if struct_ == "input_event" => "type".to_string(),
2474
+ // Field is named `gennum` in Rust because `gen` is a keyword
2475
+ "gennum" if struct_ == "xktls_session_onedir" => "gen".to_string(),
2476
s => s.to_string(),
2477
}
2478
});
0 commit comments