Skip to content

Commit 934610d

Browse files
committed
Add some missing Copy implementations
1 parent a16f60b commit 934610d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/librustrt/unwind.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -404,10 +404,13 @@ pub mod eabi {
404404
use libc::{c_void, c_int};
405405

406406
#[repr(C)]
407+
#[allow(missing_copy_implementations)]
407408
pub struct EXCEPTION_RECORD;
408409
#[repr(C)]
410+
#[allow(missing_copy_implementations)]
409411
pub struct CONTEXT;
410412
#[repr(C)]
413+
#[allow(missing_copy_implementations)]
411414
pub struct DISPATCHER_CONTEXT;
412415

413416
#[repr(C)]
@@ -418,6 +421,8 @@ pub mod eabi {
418421
ExceptionCollidedUnwind
419422
}
420423

424+
impl Copy for EXCEPTION_DISPOSITION {}
425+
421426
type _Unwind_Personality_Fn =
422427
extern "C" fn(
423428
version: c_int,

0 commit comments

Comments
 (0)