We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7ae4c1 commit cbbeb49Copy full SHA for cbbeb49
src/unix/mod.rs
@@ -74,10 +74,14 @@ s! {
74
// See https://sourceware.org/bugzilla/show_bug.cgi?id=16437
75
pub struct timespec {
76
pub tv_sec: time_t,
77
- #[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))]
+ #[cfg(all(gnu_time64_abi, target_endian = "big"))]
78
+ __pad: i32,
79
+ #[cfg(all(not(target_env = "gnu"), target_arch = "x86_64", target_pointer_width = "32"))]
80
pub tv_nsec: i64,
- #[cfg(not(all(target_arch = "x86_64", target_pointer_width = "32")))]
81
+ #[cfg(any(target_env = "gnu", not(all(target_arch = "x86_64", target_pointer_width = "32"))))]
82
pub tv_nsec: ::c_long,
83
+ #[cfg(all(gnu_time64_abi, target_endian = "little"))]
84
85
}
86
87
pub struct rlimit {
0 commit comments