Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit a6cfd64

Browse files
committed
Update to nightly 2018-08-27
1 parent 6ea3ab4 commit a6cfd64

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

substrate/executor/wasm/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#![no_std]
2-
#![feature(panic_implementation)]
2+
#![feature(panic_handler)]
33
#![cfg_attr(feature = "strict", deny(warnings))]
44

55
#![feature(alloc)]

substrate/runtime-io/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
1919
#![cfg_attr(not(feature = "std"), no_std)]
2020
#![cfg_attr(not(feature = "std"), feature(lang_items))]
21-
#![cfg_attr(not(feature = "std"), feature(panic_implementation))]
21+
#![cfg_attr(not(feature = "std"), feature(panic_handler))]
2222
#![cfg_attr(not(feature = "std"), feature(alloc_error_handler))]
2323
#![cfg_attr(not(feature = "std"), feature(core_intrinsics))]
2424
#![cfg_attr(not(feature = "std"), feature(alloc))]

substrate/runtime-io/without_std.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ use core::intrinsics;
2727
use rstd::vec::Vec;
2828
pub use rstd::{mem, slice};
2929

30-
#[panic_implementation]
30+
#[panic_handler]
3131
#[no_mangle]
3232
pub fn panic(info: &::core::panic::PanicInfo) -> ! {
3333
unsafe {

substrate/runtime-sandbox/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
3838
#![warn(missing_docs)]
3939
#![cfg_attr(not(feature = "std"), no_std)]
40-
#![cfg_attr(not(feature = "std"), feature(panic_implementation))]
40+
#![cfg_attr(not(feature = "std"), feature(panic_handler))]
4141
#![cfg_attr(not(feature = "std"), feature(core_intrinsics))]
4242
#![cfg_attr(not(feature = "std"), feature(alloc))]
4343

substrate/runtime-std/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
//! or core/alloc to be used with any code that depends on the runtime.
1919
2020
#![cfg_attr(not(feature = "std"), no_std)]
21-
#![cfg_attr(not(feature = "std"), feature(panic_implementation))]
21+
#![cfg_attr(not(feature = "std"), feature(panic_handler))]
2222
#![cfg_attr(not(feature = "std"), feature(core_intrinsics))]
2323
#![cfg_attr(not(feature = "std"), feature(alloc))]
2424

0 commit comments

Comments
 (0)