1
Fork 0

Implement custom panic handlers

This commit is contained in:
Steven Fackler 2015-12-17 23:51:55 -08:00
parent 27d551142f
commit f1148a540a
8 changed files with 331 additions and 8 deletions

View file

@ -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