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 f5d6ac1 commit 2ee94b7Copy full SHA for 2ee94b7
src/unix/mod.rs
@@ -62,7 +62,12 @@ s! {
62
63
pub struct timeval {
64
pub tv_sec: time_t,
65
+ #[cfg(not(gnu_time64_abi))]
66
pub tv_usec: suseconds_t,
67
+ // For 64 bit time on 32 bit linux glibc, suseconds_t is still
68
+ // a 32 bit type. Using suseconds_t here will break the tests, use i64 instead
69
+ #[cfg(gnu_time64_abi)]
70
+ pub tv_usec: i64
71
}
72
73
// linux x32 compatibility
0 commit comments