We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc2a8c3 commit 6d69fb1Copy full SHA for 6d69fb1
1 file changed
src/time.rs
@@ -43,5 +43,5 @@ pub fn ticks() -> u64 {
43
pub fn ticks() -> u64 {
44
// SAFETY: `_rdtsc` emits the CPU counter read instruction and has no Rust memory safety
45
// preconditions.
46
- unsafe { _rdtsc() }
+ unsafe { core::arch::x86_64::_rdtsc() }
47
}
0 commit comments