From cdd104922df2cc62a0e82ba865d4cdc6a217090e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20K=C3=A5re=20Alsaker?= Date: Tue, 6 May 2025 18:36:14 +0200 Subject: [PATCH] Use the portable `AtomicU64` --- compiler/rustc_query_system/src/dep_graph/serialized.rs | 4 ++-- 1 file 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;