about summary refs log tree commit diff
path: root/src/rt/rust_upcall.cpp
diff options
context:
space:
mode:
authorJames Miller <bladeon@gmail.com>2013-04-24 18:26:44 +1200
committerJames Miller <bladeon@gmail.com>2013-04-24 18:27:56 +1200
commit286e571a634e9677fe897ff8fb46a7e33487b4c5 (patch)
tree230ab5c4e8e79d423434d921c65ef8566c0fd821 /src/rt/rust_upcall.cpp
parent706096b31960143fb1eb957a882f170ae4a8b4e9 (diff)
downloadrust-286e571a634e9677fe897ff8fb46a7e33487b4c5.tar.gz
rust-286e571a634e9677fe897ff8fb46a7e33487b4c5.zip
Remove rust_unwind.h
Adds the required definitions in the correct place.
Diffstat (limited to 'src/rt/rust_upcall.cpp')
-rw-r--r--src/rt/rust_upcall.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/rt/rust_upcall.cpp b/src/rt/rust_upcall.cpp
index e524e6de859..59f06feee4b 100644
--- a/src/rt/rust_upcall.cpp
+++ b/src/rt/rust_upcall.cpp
@@ -19,10 +19,16 @@
 #include "rust_globals.h"
 #include "rust_task.h"
 #include "rust_sched_loop.h"
-#include "rust_unwind.h"
 #include "rust_upcall.h"
 #include "rust_util.h"
 
+//Unwinding ABI declarations.
+typedef int _Unwind_Reason_Code;
+typedef int _Unwind_Action;
+
+struct _Unwind_Context;
+struct _Unwind_Exception;
+
 #ifdef __GNUC__
 #define LOG_UPCALL_ENTRY(task)                            \
     LOG(task, upcall,                                     \