about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorPeter Atashian <retep998@gmail.com>2014-08-22 00:51:16 -0400
committerPeter Atashian <retep998@gmail.com>2014-08-22 00:53:11 -0400
commitbe8bd24e3190237469f74a426c9daa12c70d3de1 (patch)
treeced4c852c47a5c67be8dd8763eb108baca07c89b /src
parent711d710278e5f35a948637c2795fd9b1aa911368 (diff)
downloadrust-be8bd24e3190237469f74a426c9daa12c70d3de1.tar.gz
rust-be8bd24e3190237469f74a426c9daa12c70d3de1.zip
win64: Add missing #[repr(C)]
Signed-off-by: Peter Atashian <retep998@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/librustrt/unwind.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/librustrt/unwind.rs b/src/librustrt/unwind.rs
index 204128cf6be..3a2abe70f3c 100644
--- a/src/librustrt/unwind.rs
+++ b/src/librustrt/unwind.rs
@@ -399,8 +399,11 @@ pub mod eabi {
     use libunwind as uw;
     use libc::{c_void, c_int};
 
+    #[repr(C)]
     struct EXCEPTION_RECORD;
+    #[repr(C)]
     struct CONTEXT;
+    #[repr(C)]
     struct DISPATCHER_CONTEXT;
 
     #[repr(C)]