Do not panic while panicking (#7167)

* Do not panic while panicking

* Update primitives/runtime/src/lib.rs

Co-authored-by: David <dvdplm@gmail.com>

* Move function to `sp-std`

Co-authored-by: David <dvdplm@gmail.com>
This commit is contained in:
Bastian Köcher
2020-09-22 09:36:46 +02:00
committed by GitHub
parent ea21afa42a
commit 38eed5f0ac
3 changed files with 31 additions and 1 deletions
+4
View File
@@ -44,3 +44,7 @@ pub mod collections {
pub use std::collections::btree_set;
pub use std::collections::vec_deque;
}
pub mod thread {
pub use std::thread::panicking;
}