Skip to content

Commit 0167244

Browse files
committed
rustc_data_structures: Fix copy-and-paste error from previous change
This fixes a trivial copy-and-paste error from the previous change which accidentally listed "powerpc" twice instead of "mips" and "powerpc" in the architecture list for using portable AtomicU64.
1 parent 9c3bc80 commit 0167244

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_data_structures/src/marker.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ cfg_match! {
149149

150150
// MIPS, PowerPC and SPARC platforms with 32-bit pointers do not
151151
// have AtomicU64 type.
152-
#[cfg(not(any(target_arch = "powerpc", target_arch = "powerpc", target_arch = "sparc")))]
152+
#[cfg(not(any(target_arch = "mips", target_arch = "powerpc", target_arch = "sparc")))]
153153
already_sync!(
154154
[std::sync::atomic::AtomicU64]
155155
);

0 commit comments

Comments
 (0)