auto merge of #11947 : alexcrichton/rust/osx-unwind, r=brson

On OSX 32-bit, the private fields are 5 words long, not 2. I found this
segfaulting before this change, and after this change it no longer segfaulted.
This commit is contained in:
bors 2014-01-30 23:51:28 -08:00
commit f910a977db

View File

@ -122,7 +122,10 @@ mod libunwind {
pub type _Unwind_Word = uintptr_t;
#[cfg(not(target_arch = "arm"))]
#[cfg(target_arch = "x86")]
pub static unwinder_private_data_size: int = 5;
#[cfg(target_arch = "x86_64")]
pub static unwinder_private_data_size: int = 2;
#[cfg(target_arch = "arm")]