diff options
| author | Jyun-Yan You <jyyou@cs.nctu.edu.tw> | 2014-03-13 14:35:24 +0800 |
|---|---|---|
| committer | Jyun-Yan You <jyyou@cs.nctu.edu.tw> | 2014-03-14 11:13:36 +0800 |
| commit | 6d7e86d099cf33821398731f750b36df564ca5d2 (patch) | |
| tree | 4cf087332b5466b6fcc10edf8027cf04add6c166 /src/libstd/rt | |
| parent | b4d324334cb48198c27d782002d75eba14a6abde (diff) | |
| download | rust-6d7e86d099cf33821398731f750b36df564ca5d2.tar.gz rust-6d7e86d099cf33821398731f750b36df564ca5d2.zip | |
fix MIPS target
I ignored AtomicU64 methods on MIPS target because libgcc doesn't implement MIPS32 64-bit atomic operations. Otherwise it would cause link failure.
Diffstat (limited to 'src/libstd/rt')
| -rw-r--r-- | src/libstd/rt/libunwind.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libstd/rt/libunwind.rs b/src/libstd/rt/libunwind.rs index bdb049fbb5f..8c14e6c81e9 100644 --- a/src/libstd/rt/libunwind.rs +++ b/src/libstd/rt/libunwind.rs @@ -65,6 +65,9 @@ pub static unwinder_private_data_size: int = 2; #[cfg(target_arch = "arm")] pub static unwinder_private_data_size: int = 20; +#[cfg(target_arch = "mips")] +pub static unwinder_private_data_size: int = 2; + pub struct _Unwind_Exception { exception_class: _Unwind_Exception_Class, exception_cleanup: _Unwind_Exception_Cleanup_Fn, |
