From 00b1e8868053fda34114cef901c88574ab2fdf69 Mon Sep 17 00:00:00 2001 From: Nikhil Shagrithaya Date: Wed, 20 Jul 2016 18:35:25 +0530 Subject: Added a shim around rust_panic to update panic counter --- src/libstd/panic.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstd/panic.rs') diff --git a/src/libstd/panic.rs b/src/libstd/panic.rs index ba18d15f5c4..2f67081e0d7 100644 --- a/src/libstd/panic.rs +++ b/src/libstd/panic.rs @@ -340,5 +340,5 @@ pub fn catch_unwind R + UnwindSafe, R>(f: F) -> Result { /// ``` #[stable(feature = "resume_unwind", since = "1.9.0")] pub fn resume_unwind(payload: Box) -> ! { - panicking::rust_panic(payload) + panicking::update_count_then_panic(payload) } -- cgit 1.4.1-3-g733a5