Moved panick_hook to util/panic_hook (#7629)
This commit is contained in:
parent
d31cfd3c64
commit
51ef70922e
@ -59,7 +59,7 @@ parity-version = { path = "util/version" }
|
|||||||
parity-whisper = { path = "whisper" }
|
parity-whisper = { path = "whisper" }
|
||||||
path = { path = "util/path" }
|
path = { path = "util/path" }
|
||||||
dir = { path = "util/dir" }
|
dir = { path = "util/dir" }
|
||||||
panic_hook = { path = "panic_hook" }
|
panic_hook = { path = "util/panic_hook" }
|
||||||
keccak-hash = { path = "util/hash" }
|
keccak-hash = { path = "util/hash" }
|
||||||
migration = { path = "util/migration" }
|
migration = { path = "util/migration" }
|
||||||
kvdb = { path = "util/kvdb" }
|
kvdb = { path = "util/kvdb" }
|
||||||
|
@ -7,7 +7,7 @@ authors = ["Parity Technologies <admin@parity.io>"]
|
|||||||
docopt = "0.8"
|
docopt = "0.8"
|
||||||
env_logger = "0.4"
|
env_logger = "0.4"
|
||||||
ethkey = { path = "../" }
|
ethkey = { path = "../" }
|
||||||
panic_hook = { path = "../../panic_hook" }
|
panic_hook = { path = "../../util/panic_hook" }
|
||||||
parity-wordlist="1.2"
|
parity-wordlist="1.2"
|
||||||
rustc-hex = "1.0"
|
rustc-hex = "1.0"
|
||||||
serde = "1.0"
|
serde = "1.0"
|
||||||
|
@ -12,7 +12,7 @@ serde_derive = "1.0"
|
|||||||
parking_lot = "0.5"
|
parking_lot = "0.5"
|
||||||
ethstore = { path = "../" }
|
ethstore = { path = "../" }
|
||||||
dir = { path = '../../util/dir' }
|
dir = { path = '../../util/dir' }
|
||||||
panic_hook = { path = "../../panic_hook" }
|
panic_hook = { path = "../../util/panic_hook" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
name = "ethstore"
|
name = "ethstore"
|
||||||
|
@ -16,7 +16,7 @@ ethcore-bytes = { path = "../util/bytes" }
|
|||||||
ethcore-transaction = { path = "../ethcore/transaction" }
|
ethcore-transaction = { path = "../ethcore/transaction" }
|
||||||
ethereum-types = "0.1"
|
ethereum-types = "0.1"
|
||||||
evm = { path = "../ethcore/evm" }
|
evm = { path = "../ethcore/evm" }
|
||||||
panic_hook = { path = "../panic_hook" }
|
panic_hook = { path = "../util/panic_hook" }
|
||||||
rustc-hex = "1.0"
|
rustc-hex = "1.0"
|
||||||
serde = "1.0"
|
serde = "1.0"
|
||||||
serde_derive = "1.0"
|
serde_derive = "1.0"
|
||||||
|
@ -18,10 +18,10 @@
|
|||||||
|
|
||||||
extern crate backtrace;
|
extern crate backtrace;
|
||||||
|
|
||||||
use backtrace::Backtrace;
|
|
||||||
use std::io::{self, Write};
|
use std::io::{self, Write};
|
||||||
use std::panic::{self, PanicInfo};
|
use std::panic::{self, PanicInfo};
|
||||||
use std::thread;
|
use std::thread;
|
||||||
|
use backtrace::Backtrace;
|
||||||
|
|
||||||
/// Set the panic hook
|
/// Set the panic hook
|
||||||
pub fn set() {
|
pub fn set() {
|
Loading…
Reference in New Issue
Block a user