Skip to content

Commit 66529ed

Browse files
committed
Add a rule for flock64 in libc-test build script
1 parent c70634e commit 66529ed

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

libc-test/build.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2230,6 +2230,9 @@ fn test_linux(target: &str) {
22302230

22312231
t if t.ends_with("_t") => t.to_string(),
22322232

2233+
// This is either a struct or a typedef to a struct
2234+
"flock64" if musl => format!("struct {}", ty),
2235+
22332236
// put `struct` in front of all structs:.
22342237
t if is_struct => format!("struct {}", t),
22352238

0 commit comments

Comments
 (0)