about summary refs log tree commit diff
diff options
context:
space:
mode:
authorValerii Hiora <valerii.hiora@gmail.com>2014-08-21 11:10:03 +0300
committerValerii Hiora <valerii.hiora@gmail.com>2014-08-21 11:12:57 +0300
commit69fbef1d87ffc4807ff75676f30c7ea30bb11a96 (patch)
tree0710dd97bb45655c7c94145e88836facf34bef1d
parent08a34531111ce02e0db9c7deed291f65508593bd (diff)
downloadrust-69fbef1d87ffc4807ff75676f30c7ea30bb11a96.tar.gz
rust-69fbef1d87ffc4807ff75676f30c7ea30bb11a96.zip
Fixed unwinding for iOS
Was broken by Windows adoption
-rw-r--r--src/librustrt/unwind.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/librustrt/unwind.rs b/src/librustrt/unwind.rs
index 204128cf6be..58012002c4f 100644
--- a/src/librustrt/unwind.rs
+++ b/src/librustrt/unwind.rs
@@ -333,7 +333,10 @@ pub mod eabi {
             uw::_URC_HANDLER_FOUND // catch!
         }
         else { // cleanup phase
-            uw::_URC_INSTALL_CONTEXT
+            unsafe {
+                __gcc_personality_sj0(_version, actions, _exception_class, _ue_header,
+                                      _context)
+            }
         }
     }
 }