Register new snapshots
Lots of cruft to remove!
This commit is contained in:
@@ -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) -> !;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user