Skip to content

Commit be8bd24

Browse files
committed
win64: Add missing #[repr(C)]
Signed-off-by: Peter Atashian <retep998@gmail.com>
1 parent 711d710 commit be8bd24

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/librustrt/unwind.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,8 +399,11 @@ pub mod eabi {
399399
use libunwind as uw;
400400
use libc::{c_void, c_int};
401401

402+
#[repr(C)]
402403
struct EXCEPTION_RECORD;
404+
#[repr(C)]
403405
struct CONTEXT;
406+
#[repr(C)]
404407
struct DISPATCHER_CONTEXT;
405408

406409
#[repr(C)]

0 commit comments

Comments
 (0)