diff options
| author | Josh Stone <jistone@redhat.com> | 2018-09-26 14:26:46 -0700 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2018-09-27 20:52:53 -0700 |
| commit | ce034951fb907c8aa6abd5e6e04769e5e628953c (patch) | |
| tree | 94468d8a5108315f82993dd95328270aefd3e2ec /src/libpanic_abort | |
| parent | 7d52cbce6db83e4fc2d8706b4e4b9c7da76cbcf8 (diff) | |
Bump to 1.31.0 and bootstrap from 1.30 beta
Diffstat (limited to 'src/libpanic_abort')
| -rw-r--r-- | src/libpanic_abort/lib.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libpanic_abort/lib.rs b/src/libpanic_abort/lib.rs index 14221f3d79e..cf05e56e53c 100644 --- a/src/libpanic_abort/lib.rs +++ b/src/libpanic_abort/lib.rs @@ -24,14 +24,13 @@ #![feature(core_intrinsics)] #![feature(libc)] -#![cfg_attr(not(stage0), feature(nll))] +#![feature(nll)] #![feature(panic_runtime)] #![feature(staged_api)] #![feature(rustc_attrs)] // Rust's "try" function, but if we're aborting on panics we just call the // function as there's nothing else we need to do here. -#[cfg_attr(stage0, no_mangle)] #[rustc_std_internal_symbol] pub unsafe extern fn __rust_maybe_catch_panic(f: fn(*mut u8), data: *mut u8, @@ -51,7 +50,6 @@ pub unsafe extern fn __rust_maybe_catch_panic(f: fn(*mut u8), // which would break compat with XP. For now just use `intrinsics::abort` which // will kill us with an illegal instruction, which will do a good enough job for // now hopefully. -#[cfg_attr(stage0, no_mangle)] #[rustc_std_internal_symbol] pub unsafe extern fn __rust_start_panic(_payload: usize) -> u32 { abort(); |
