diff options
| author | Jakub Beránek <berykubik@gmail.com> | 2025-07-02 10:04:35 +0200 | 
|---|---|---|
| committer | Jakub Beránek <berykubik@gmail.com> | 2025-07-02 10:04:35 +0200 | 
| commit | b49ca021e1569e219265651eb7bd936d5ac21886 (patch) | |
| tree | 1a0e4a140e86d0f4461caa91df39baf75a67b061 /compiler/rustc_data_structures/src/profiling.rs | |
| parent | e8fc30ee05496f2b3e57c1a44e33b6480f5140a2 (diff) | |
| download | rust-b49ca021e1569e219265651eb7bd936d5ac21886.tar.gz rust-b49ca021e1569e219265651eb7bd936d5ac21886.zip | |
Use portable `AtomicU64`
Diffstat (limited to 'compiler/rustc_data_structures/src/profiling.rs')
| -rw-r--r-- | compiler/rustc_data_structures/src/profiling.rs | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/compiler/rustc_data_structures/src/profiling.rs b/compiler/rustc_data_structures/src/profiling.rs index 2903155421c..0cc14d6b0c9 100644 --- a/compiler/rustc_data_structures/src/profiling.rs +++ b/compiler/rustc_data_structures/src/profiling.rs @@ -88,7 +88,7 @@ use std::fmt::Display; use std::intrinsics::unlikely; use std::path::Path; use std::sync::Arc; -use std::sync::atomic::{AtomicU64, Ordering}; +use std::sync::atomic::Ordering; use std::time::{Duration, Instant}; use std::{fs, process}; @@ -100,6 +100,7 @@ use tracing::warn; use crate::fx::FxHashMap; use crate::outline; +use crate::sync::AtomicU64; bitflags::bitflags! { #[derive(Clone, Copy)] | 
