diff options
Diffstat (limited to 'src/libstd/sync')
| -rw-r--r-- | src/libstd/sync/atomics.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libstd/sync/atomics.rs b/src/libstd/sync/atomics.rs index b4d465c0397..b38a5aed16f 100644 --- a/src/libstd/sync/atomics.rs +++ b/src/libstd/sync/atomics.rs @@ -225,6 +225,10 @@ impl AtomicInt { } } +// temporary workaround +// it causes link failure on MIPS target +// libgcc doesn't implement 64-bit atomic operations for MIPS32 +#[cfg(not(target_arch = "mips"))] impl AtomicU64 { pub fn new(v: u64) -> AtomicU64 { AtomicU64 { v:v, nopod: marker::NoPod } |
