@@ -30,7 +30,7 @@ use super::io::errno::{
30
30
use super :: reg:: { raw_arg, ArgNumber , ArgReg , RetReg , R0 } ;
31
31
#[ cfg( feature = "time" ) ]
32
32
use super :: time:: types:: TimerfdClockId ;
33
- #[ cfg( any( feature = "thread" , feature = "time" , target_arch = "x86" ) ) ]
33
+ #[ cfg( any( feature = "thread" , feature = "time" ) ) ]
34
34
use crate :: clockid:: ClockId ;
35
35
use crate :: fd:: OwnedFd ;
36
36
use crate :: ffi:: CStr ;
@@ -44,7 +44,7 @@ use crate::signal::Signal;
44
44
use crate :: utils:: { as_mut_ptr, as_ptr} ;
45
45
use core:: mem:: MaybeUninit ;
46
46
use core:: ptr:: null_mut;
47
- #[ cfg( any( feature = "thread" , feature = "time" , target_arch = "x86" ) ) ]
47
+ #[ cfg( any( feature = "thread" , feature = "time" ) ) ]
48
48
use linux_raw_sys:: general:: __kernel_clockid_t;
49
49
#[ cfg( target_pointer_width = "64" ) ]
50
50
use 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> {
270
270
pass_usize ( i as usize )
271
271
}
272
272
273
- #[ cfg( any( feature = "thread" , feature = "time" , target_arch = "x86" ) ) ]
273
+ #[ cfg( any( feature = "thread" , feature = "time" ) ) ]
274
274
impl < ' a , Num : ArgNumber > From < ClockId > for ArgReg < ' a , Num > {
275
275
#[ inline]
276
276
fn from ( i : ClockId ) -> Self {
0 commit comments