Register new snapshots

Lots of cruft to remove!
This commit is contained in:
Alex Crichton
2015-12-11 13:07:11 -08:00
parent e2834a20e7
commit cd1848a1a6
60 changed files with 45 additions and 841 deletions

View File

@@ -131,8 +131,6 @@ extern "C" {
pub fn _Unwind_DeleteException(exception: *mut _Unwind_Exception);
// remove cfg after new snapshot
#[cfg(not(all(stage0, target_os="windows", target_arch="x86_64")))]
#[unwind]
pub fn _Unwind_Resume(exception: *mut _Unwind_Exception) -> !;
}

View File

@@ -88,18 +88,8 @@ use sys_common::mutex::Mutex;
#[path = "seh.rs"] #[doc(hidden)]
pub mod imp;
// stage0: i686-pc-windows-gnu
#[cfg(all(stage0, windows, target_arch = "x86_64", target_env = "gnu"))]
#[path = "seh64_gnu.rs"] #[doc(hidden)]
pub mod imp;
// stage0: x86_64-pc-windows-msvc
#[cfg(all(stage0, windows, target_arch = "x86_64", target_env = "msvc"))]
#[path = "seh.rs"] #[doc(hidden)]
pub mod imp;
// x86_64-pc-windows-*
#[cfg(all(not(stage0), windows, target_arch = "x86_64"))]
#[cfg(all(windows, target_arch = "x86_64"))]
#[path = "seh64_gnu.rs"] #[doc(hidden)]
pub mod imp;

View File

@@ -17,7 +17,7 @@ use os::raw::{c_char, c_short, c_ulonglong};
use libc::{wchar_t, size_t, c_void};
use ptr;
#[cfg_attr(not(stage0), repr(simd))]
#[repr(simd)]
#[repr(C)]
struct u64x2(u64, u64);