Get rid of in-substrate usages of core_intrinsics feature (#4823)

* Remove usage of unneeded Rust feature core_intrinsics

* core::intrinsics::abort -> arch::wasm32::unreachable

* Don't publish `core::intrinsics`.

* Disable panic_handler and alloc_error_handler for no_std non wasm builds
This commit is contained in:
Sergei Pepyakin
2020-02-05 17:26:48 +01:00
committed by GitHub
parent c0af995362
commit 1185f3ea30
5 changed files with 8 additions and 7 deletions
-1
View File
@@ -36,7 +36,6 @@
#![warn(missing_docs)]
#![cfg_attr(not(feature = "std"), no_std)]
#![cfg_attr(not(feature = "std"), feature(core_intrinsics))]
use sp_std::prelude::*;