Skip to content
Permalink
Browse files

Add some missing Copy implementations

  • Loading branch information
pcwalton committed Dec 9, 2014
1 parent a16f60b commit fcd1f53e4351d241b27c8a3af37e37962811a124
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/librustrt/unwind.rs
@@ -400,14 +400,18 @@ pub mod eabi {
#[allow(non_camel_case_types, non_snake_case)]
pub mod eabi {
pub use self::EXCEPTION_DISPOSITION::*;
use core::prelude::*;
use libunwind as uw;
use libc::{c_void, c_int};

#[repr(C)]
#[allow(missing_copy_implementations)]
pub struct EXCEPTION_RECORD;
#[repr(C)]
#[allow(missing_copy_implementations)]
pub struct CONTEXT;
#[repr(C)]
#[allow(missing_copy_implementations)]
pub struct DISPATCHER_CONTEXT;

#[repr(C)]
@@ -418,6 +422,8 @@ pub mod eabi {
ExceptionCollidedUnwind
}

impl Copy for EXCEPTION_DISPOSITION {}

type _Unwind_Personality_Fn =
extern "C" fn(
version: c_int,

5 comments on commit fcd1f53

@bors

This comment has been minimized.

Copy link
Contributor

@bors bors replied Dec 9, 2014

saw approval from nikomatsakis
at pcwalton@fcd1f53

@bors

This comment has been minimized.

Copy link
Contributor

@bors bors replied Dec 9, 2014

merging pcwalton/rust/oibit3 = fcd1f53 into auto

@bors

This comment has been minimized.

Copy link
Contributor

@bors bors replied Dec 9, 2014

pcwalton/rust/oibit3 = fcd1f53 merged ok, testing candidate = c56e59c

@bors

This comment has been minimized.

Copy link
Contributor

@bors bors replied Dec 9, 2014

fast-forwarding master to auto = c56e59c

Please sign in to comment.
You can’t perform that action at this time.