File tree 3 files changed +7
-7
lines changed
compiler/rustc_data_structures
3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ libc = "0.2"
50
50
memmap2 = " 0.2.1"
51
51
# tidy-alphabetical-end
52
52
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 ]
54
54
portable-atomic = " 1.5.1"
55
55
56
56
[features ]
Original file line number Diff line number Diff line change @@ -147,14 +147,14 @@ cfg_match! {
147
147
[ crate :: owned_slice:: OwnedSlice ]
148
148
) ;
149
149
150
- // PowerPC and MIPS platforms with 32-bit pointers do not
150
+ // MIPS, PowerPC and SPARC platforms with 32-bit pointers do not
151
151
// 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 ") ) ) ]
153
153
already_sync!(
154
154
[ std:: sync:: atomic:: AtomicU64 ]
155
155
) ;
156
156
157
- #[ cfg( any( target_arch = "powerpc" , target_arch = "mips " ) ) ]
157
+ #[ cfg( any( target_arch = "mips" , target_arch = " powerpc", target_arch = "sparc " ) ) ]
158
158
already_sync!(
159
159
[ portable_atomic:: AtomicU64 ]
160
160
) ;
Original file line number Diff line number Diff line change @@ -270,12 +270,12 @@ cfg_match! {
270
270
271
271
pub use std:: sync:: atomic:: { AtomicBool , AtomicUsize , AtomicU32 } ;
272
272
273
- // PowerPC and MIPS platforms with 32-bit pointers do not
273
+ // MIPS, PowerPC and SPARC platforms with 32-bit pointers do not
274
274
// 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 " ) ) ) ]
276
276
pub use std:: sync:: atomic:: AtomicU64 ;
277
277
278
- #[ cfg( any( target_arch = "powerpc" , target_arch = "mips " ) ) ]
278
+ #[ cfg( any( target_arch = "mips" , target_arch = " powerpc", target_arch = "sparc " ) ) ]
279
279
pub use portable_atomic:: AtomicU64 ;
280
280
281
281
pub use std:: sync:: Arc as Lrc ;
You can’t perform that action at this time.
0 commit comments