@@ -30,7 +30,7 @@ use super::io::errno::{
3030use super :: reg:: { raw_arg, ArgNumber , ArgReg , RetReg , R0 } ;
3131#[ cfg( feature = "time" ) ]
3232use super :: time:: types:: TimerfdClockId ;
33- #[ cfg( any( feature = "thread" , feature = "time" , target_arch = "x86" ) ) ]
33+ #[ cfg( any( feature = "thread" , feature = "time" ) ) ]
3434use crate :: clockid:: ClockId ;
3535use crate :: fd:: OwnedFd ;
3636use crate :: ffi:: CStr ;
@@ -44,7 +44,7 @@ use crate::signal::Signal;
4444use crate :: utils:: { as_mut_ptr, as_ptr} ;
4545use core:: mem:: MaybeUninit ;
4646use core:: ptr:: null_mut;
47- #[ cfg( any( feature = "thread" , feature = "time" , target_arch = "x86" ) ) ]
47+ #[ cfg( any( feature = "thread" , feature = "time" ) ) ]
4848use linux_raw_sys:: general:: __kernel_clockid_t;
4949#[ cfg( target_pointer_width = "64" ) ]
5050use linux_raw_sys:: general:: __kernel_loff_t;
@@ -270,7 +270,7 @@ pub(super) fn loff_t_from_u64<'a, Num: ArgNumber>(i: u64) -> ArgReg<'a, Num> {
270270 pass_usize ( i as usize )
271271}
272272
273- #[ cfg( any( feature = "thread" , feature = "time" , target_arch = "x86" ) ) ]
273+ #[ cfg( any( feature = "thread" , feature = "time" ) ) ]
274274impl < ' a , Num : ArgNumber > From < ClockId > for ArgReg < ' a , Num > {
275275 #[ inline]
276276 fn from ( i : ClockId ) -> Self {
0 commit comments