Skip to content

Commit 0c4b6ed

Browse files
committed
DragonFly should use FreeBSD's sigval workaround
1 parent 3bf3d67 commit 0c4b6ed

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libc-test/build.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1256,6 +1256,9 @@ fn test_dragonflybsd(target: &str) {
12561256

12571257
t if t.ends_with("_t") => t.to_string(),
12581258

1259+
// sigval is a struct in Rust, but a union in C:
1260+
"sigval" => format!("union sigval"),
1261+
12591262
// put `struct` in front of all structs:.
12601263
t if is_struct => format!("struct {}", t),
12611264

@@ -1289,9 +1292,6 @@ fn test_dragonflybsd(target: &str) {
12891292

12901293
cfg.skip_struct(move |ty| {
12911294
match ty {
1292-
// This is actually a union, not a struct
1293-
"sigval" => true,
1294-
12951295
// FIXME: These are tested as part of the linux_fcntl tests since
12961296
// there are header conflicts when including them with all the other
12971297
// structs.

0 commit comments

Comments
 (0)