Skip to content

Commit b49ca02

Browse files
committed
Use portable AtomicU64
1 parent e8fc30e commit b49ca02

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compiler/rustc_data_structures/src/profiling.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ use std::fmt::Display;
8888
use std::intrinsics::unlikely;
8989
use std::path::Path;
9090
use std::sync::Arc;
91-
use std::sync::atomic::{AtomicU64, Ordering};
91+
use std::sync::atomic::Ordering;
9292
use std::time::{Duration, Instant};
9393
use std::{fs, process};
9494

@@ -100,6 +100,7 @@ use tracing::warn;
100100

101101
use crate::fx::FxHashMap;
102102
use crate::outline;
103+
use crate::sync::AtomicU64;
103104

104105
bitflags::bitflags! {
105106
#[derive(Clone, Copy)]

0 commit comments

Comments
 (0)