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 778e5c9 commit e2418ecCopy full SHA for e2418ec
src/unix/mod.rs
@@ -68,7 +68,12 @@ s! {
68
69
pub struct timeval {
70
pub tv_sec: time_t,
71
+ #[cfg(not(linux_time_bits64))]
72
pub tv_usec: suseconds_t,
73
+ // For 64 bit time on 32 bit linux glibc, suseconds_t is still
74
+ // a 32 bit type. Using suseconds_t here will break the tests, use i64 instead
75
+ #[cfg(linux_time_bits64)]
76
+ pub tv_usec: i64,
77
}
78
79
// linux x32 compatibility
0 commit comments