File tree 2 files changed +0
-12
lines changed
2 files changed +0
-12
lines changed Original file line number Diff line number Diff line change 269
269
#![ cfg_attr( any( windows, target_os = "uefi" ) , feature( round_char_boundary) ) ]
270
270
#![ cfg_attr( target_family = "wasm" , feature( stdarch_wasm_atomic_wait) ) ]
271
271
#![ cfg_attr( target_arch = "wasm64" , feature( simd_wasm64) ) ]
272
- #![ cfg_attr(
273
- all( any( target_arch = "x86_64" , target_arch = "x86" ) , target_os = "uefi" ) ,
274
- feature( stdarch_x86_has_cpuid)
275
- ) ]
276
272
//
277
273
// Language features:
278
274
// tidy-alphabetical-start
Original file line number Diff line number Diff line change @@ -175,10 +175,6 @@ pub(crate) mod instant_internal {
175
175
176
176
#[ cfg( target_arch = "x86_64" ) ]
177
177
fn timestamp_rdtsc ( ) -> Option < Duration > {
178
- if !crate :: arch:: x86_64:: has_cpuid ( ) {
179
- return None ;
180
- }
181
-
182
178
static FREQUENCY : crate :: sync:: OnceLock < u64 > = crate :: sync:: OnceLock :: new ( ) ;
183
179
184
180
// Get Frequency in Mhz
@@ -200,10 +196,6 @@ pub(crate) mod instant_internal {
200
196
201
197
#[ cfg( target_arch = "x86" ) ]
202
198
fn timestamp_rdtsc ( ) -> Option < Duration > {
203
- if !crate :: arch:: x86:: has_cpuid ( ) {
204
- return None ;
205
- }
206
-
207
199
static FREQUENCY : crate :: sync:: OnceLock < u64 > = crate :: sync:: OnceLock :: new ( ) ;
208
200
209
201
let freq = FREQUENCY
You can’t perform that action at this time.
0 commit comments