Skip to content

Commit 0403fff

Browse files
committed
libc-test: Linux: remove test workaround for inlined timespec
They have all been fixed.
1 parent 25032c2 commit 0403fff

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

libc-test/build.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3933,14 +3933,6 @@ fn test_linux(target: &str) {
39333933

39343934
cfg.rename_struct_field(move |struct_, field| {
39353935
match (struct_.ident(), field.ident()) {
3936-
// Our stat *_nsec fields normally don't actually exist but are part
3937-
// of a timeval struct - this is fixed in musl_v1_2_3
3938-
("stat" | "statfs" | "statvfs" | "stat64" | "statfs64" | "statvfs64", f)
3939-
if !musl_v1_2_3 && f.ends_with("_nsec") =>
3940-
{
3941-
Some(f.replace("e_nsec", ".tv_nsec"))
3942-
}
3943-
39443936
// FIXME(linux): epoll_event.data is actually a union in C, but in Rust
39453937
// it is only a u64 because we only expose one field
39463938
// http://man7.org/linux/man-pages/man2/epoll_wait.2.html

0 commit comments

Comments
 (0)