Implement custom panic handlers
This commit is contained in:
parent
27d551142f
commit
f1148a540a
8 changed files with 331 additions and 8 deletions
|
@ -21,6 +21,8 @@ use sync::{Arc, Mutex, RwLock};
|
|||
use sys_common::unwind;
|
||||
use thread::Result;
|
||||
|
||||
pub use panicking::{take_handler, set_handler, PanicInfo, Location};
|
||||
|
||||
/// A marker trait which represents "panic safe" types in Rust.
|
||||
///
|
||||
/// This trait is implemented by default for many types and behaves similarly in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue