Skip to content

Commit

Permalink
Merge branch 'master' of github.com:gz/rust-cpuid
Browse files Browse the repository at this point in the history
  • Loading branch information
gz committed Oct 22, 2020
2 parents c881d0a + 84a8f42 commit 512bd1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/tsc_frequency.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use core::arch::x86_64::_rdtsc as rdtsc;
#[rustversion::nightly]
use core::arch::x86::_rdtsc as rdtsc;

#[rustversion::stable]
#[rustversion::not(nightly)]
unsafe fn rdtsc() -> u64 {
0
}
Expand Down

0 comments on commit 512bd1f

Please sign in to comment.