about summary refs log tree commit diff
path: root/src/libstd/rt.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-08-11 01:58:48 -0700
committerGitHub <noreply@github.com>2016-08-11 01:58:48 -0700
commit695b3d8279e17689b988e000203ba95ffeb4a91c (patch)
tree2ead4208b3bcc7c6f990b8f34ecb83e4a96f9e1f /src/libstd/rt.rs
parent1222f5d52ba0586d67c32a5bc4a3097eb9574aae (diff)
parentea2216cba88f225c758070fd457e321a58c63951 (diff)
downloadrust-695b3d8279e17689b988e000203ba95ffeb4a91c.tar.gz
rust-695b3d8279e17689b988e000203ba95ffeb4a91c.zip
Auto merge of #34866 - cynicaldevil:panic-counter, r=alexcrichton
Refactored code to access TLS only in case of panic (II)

Fixes #34787
r? @alexcrichton
Do it **very** carefully this time!
Diffstat (limited to 'src/libstd/rt.rs')
-rw-r--r--src/libstd/rt.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/rt.rs b/src/libstd/rt.rs
index 5a7c0fe4816..a3d9e4db7d1 100644
--- a/src/libstd/rt.rs
+++ b/src/libstd/rt.rs
@@ -25,7 +25,7 @@
 
 
 // Reexport some of our utilities which are expected by other crates.
-pub use panicking::{begin_panic, begin_panic_fmt};
+pub use panicking::{begin_panic, begin_panic_fmt, update_panic_count};
 
 #[cfg(not(test))]
 #[lang = "start"]