File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
compiler/rustc_data_structures Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ libc = "0.2"
5050memmap2 = " 0.2.1"
5151# tidy-alphabetical-end
5252
53- [target .'cfg(any(target_arch = "powerpc", target_arch = "mips "))' .dependencies ]
53+ [target .'cfg(any(target_arch = "mips", target_arch = " powerpc", target_arch = "sparc "))' .dependencies ]
5454portable-atomic = " 1.5.1"
5555
5656[features ]
Original file line number Diff line number Diff line change @@ -147,14 +147,14 @@ cfg_match! {
147147 [ crate :: owned_slice:: OwnedSlice ]
148148 ) ;
149149
150- // PowerPC and MIPS platforms with 32-bit pointers do not
150+ // MIPS, PowerPC and SPARC platforms with 32-bit pointers do not
151151 // have AtomicU64 type.
152- #[ cfg( not( any( target_arch = "powerpc" , target_arch = "mips " ) ) ) ]
152+ #[ cfg( not( any( target_arch = "powerpc" , target_arch = "powerpc" , target_arch = "sparc ") ) ) ]
153153 already_sync!(
154154 [ std:: sync:: atomic:: AtomicU64 ]
155155 ) ;
156156
157- #[ cfg( any( target_arch = "powerpc" , target_arch = "mips " ) ) ]
157+ #[ cfg( any( target_arch = "mips" , target_arch = " powerpc", target_arch = "sparc " ) ) ]
158158 already_sync!(
159159 [ portable_atomic:: AtomicU64 ]
160160 ) ;
Original file line number Diff line number Diff line change @@ -270,12 +270,12 @@ cfg_match! {
270270
271271 pub use std:: sync:: atomic:: { AtomicBool , AtomicUsize , AtomicU32 } ;
272272
273- // PowerPC and MIPS platforms with 32-bit pointers do not
273+ // MIPS, PowerPC and SPARC platforms with 32-bit pointers do not
274274 // have AtomicU64 type.
275- #[ cfg( not( any( target_arch = "powerpc" , target_arch = "mips " ) ) ) ]
275+ #[ cfg( not( any( target_arch = "mips" , target_arch = " powerpc", target_arch = "sparc " ) ) ) ]
276276 pub use std:: sync:: atomic:: AtomicU64 ;
277277
278- #[ cfg( any( target_arch = "powerpc" , target_arch = "mips " ) ) ]
278+ #[ cfg( any( target_arch = "mips" , target_arch = " powerpc", target_arch = "sparc " ) ) ]
279279 pub use portable_atomic:: AtomicU64 ;
280280
281281 pub use std:: sync:: Arc as Lrc ;
You can’t perform that action at this time.
0 commit comments