Skip to content

Commit

Permalink
rustc_data_structures: Fix copy-and-paste error from previous change
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
glaubitz committed Jun 28, 2024
1 parent 9c3bc80 commit 0167244
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_data_structures/src/marker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ cfg_match! {

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

0 comments on commit 0167244

Please sign in to comment.