@@ -15,7 +15,7 @@ use super::reg::{ArgReg, RetReg, SyscallNumber, A0, A1, A2, A3, A4, A5, R0};
1515use super :: vdso;
1616#[ cfg( target_arch = "x86" ) ]
1717use core:: arch:: global_asm;
18- #[ cfg( feature = "process " ) ]
18+ #[ cfg( feature = "thread " ) ]
1919#[ cfg( any(
2020 target_arch = "x86_64" ,
2121 target_arch = "x86" ,
@@ -33,7 +33,7 @@ use core::sync::atomic::Ordering::Relaxed;
3333use linux_raw_sys:: general:: timespec as __kernel_old_timespec;
3434#[ cfg( any(
3535 all(
36- feature = "process " ,
36+ feature = "thread " ,
3737 any(
3838 target_arch = "x86_64" ,
3939 target_arch = "x86" ,
@@ -114,7 +114,7 @@ pub(crate) fn clock_gettime_dynamic(which_clock: DynamicClockId<'_>) -> io::Resu
114114 }
115115}
116116
117- #[ cfg( feature = "process " ) ]
117+ #[ cfg( feature = "thread " ) ]
118118#[ cfg( any(
119119 target_arch = "x86_64" ,
120120 target_arch = "x86" ,
@@ -266,7 +266,7 @@ pub(super) mod x86_via_vdso {
266266#[ cfg( feature = "time" ) ]
267267type ClockGettimeType = unsafe extern "C" fn ( c:: c_int , * mut Timespec ) -> c:: c_int ;
268268
269- #[ cfg( feature = "process " ) ]
269+ #[ cfg( feature = "thread " ) ]
270270#[ cfg( any(
271271 target_arch = "x86_64" ,
272272 target_arch = "x86" ,
@@ -293,7 +293,7 @@ fn init_clock_gettime() -> ClockGettimeType {
293293}
294294
295295/// Initialize `GETCPU` and return its value.
296- #[ cfg( feature = "process " ) ]
296+ #[ cfg( feature = "thread " ) ]
297297#[ cfg( any(
298298 target_arch = "x86_64" ,
299299 target_arch = "x86" ,
@@ -324,7 +324,7 @@ fn init_syscall() -> SyscallType {
324324struct Function ;
325325#[ cfg( feature = "time" ) ]
326326static CLOCK_GETTIME : AtomicPtr < Function > = AtomicPtr :: new ( null_mut ( ) ) ;
327- #[ cfg( feature = "process " ) ]
327+ #[ cfg( feature = "thread " ) ]
328328#[ cfg( any(
329329 target_arch = "x86_64" ,
330330 target_arch = "x86" ,
@@ -394,7 +394,7 @@ unsafe fn _rustix_clock_gettime_via_syscall(
394394 ret ( syscall ! ( __NR_clock_gettime, c_int( clockid) , res) )
395395}
396396
397- #[ cfg( feature = "process " ) ]
397+ #[ cfg( feature = "thread " ) ]
398398#[ cfg( any(
399399 target_arch = "x86_64" ,
400400 target_arch = "x86" ,
@@ -458,7 +458,7 @@ fn minimal_init() {
458458 . ok ( ) ;
459459 }
460460
461- #[ cfg( feature = "process " ) ]
461+ #[ cfg( feature = "thread " ) ]
462462 #[ cfg( any(
463463 target_arch = "x86_64" ,
464464 target_arch = "x86" ,
@@ -545,7 +545,7 @@ fn init() {
545545 }
546546 }
547547
548- #[ cfg( feature = "process " ) ]
548+ #[ cfg( feature = "thread " ) ]
549549 #[ cfg( any(
550550 target_arch = "x86_64" ,
551551 target_arch = "x86" ,
0 commit comments