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 3bf3d67 commit 0c4b6edCopy full SHA for 0c4b6ed
libc-test/build.rs
@@ -1256,6 +1256,9 @@ fn test_dragonflybsd(target: &str) {
1256
1257
t if t.ends_with("_t") => t.to_string(),
1258
1259
+ // sigval is a struct in Rust, but a union in C:
1260
+ "sigval" => format!("union sigval"),
1261
+
1262
// put `struct` in front of all structs:.
1263
t if is_struct => format!("struct {}", t),
1264
@@ -1289,9 +1292,6 @@ fn test_dragonflybsd(target: &str) {
1289
1292
1290
1293
cfg.skip_struct(move |ty| {
1291
1294
match ty {
- // This is actually a union, not a struct
- "sigval" => true,
-
1295
// FIXME: These are tested as part of the linux_fcntl tests since
1296
// there are header conflicts when including them with all the other
1297
// structs.
0 commit comments