diff options
| author | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2025-05-06 18:36:14 +0200 |
|---|---|---|
| committer | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2025-05-06 18:36:14 +0200 |
| commit | cdd104922df2cc62a0e82ba865d4cdc6a217090e (patch) | |
| tree | d5f44d49b2cda30895ea6f3b3fcb02e592ea386f /compiler/rustc_query_system/src | |
| parent | e1e8857d544b743419a8caddb7f4b5e0fb9610f4 (diff) | |
| download | rust-cdd104922df2cc62a0e82ba865d4cdc6a217090e.tar.gz rust-cdd104922df2cc62a0e82ba865d4cdc6a217090e.zip | |
Use the portable `AtomicU64`
Diffstat (limited to 'compiler/rustc_query_system/src')
| -rw-r--r-- | compiler/rustc_query_system/src/dep_graph/serialized.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_query_system/src/dep_graph/serialized.rs b/compiler/rustc_query_system/src/dep_graph/serialized.rs index b01f65a5e45..f1b609a3ca9 100644 --- a/compiler/rustc_query_system/src/dep_graph/serialized.rs +++ b/compiler/rustc_query_system/src/dep_graph/serialized.rs @@ -43,14 +43,14 @@ use std::cell::RefCell; use std::cmp::max; use std::marker::PhantomData; use std::sync::Arc; -use std::sync::atomic::{AtomicU64, Ordering}; +use std::sync::atomic::Ordering; use std::{iter, mem, u64}; use rustc_data_structures::fingerprint::{Fingerprint, PackedFingerprint}; use rustc_data_structures::fx::FxHashMap; use rustc_data_structures::outline; use rustc_data_structures::profiling::SelfProfilerRef; -use rustc_data_structures::sync::{Lock, WorkerLocal, broadcast}; +use rustc_data_structures::sync::{AtomicU64, Lock, WorkerLocal, broadcast}; use rustc_data_structures::unhash::UnhashMap; use rustc_index::IndexVec; use rustc_serialize::opaque::mem_encoder::MemEncoder; |
