We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14ca83a commit cb7c899Copy full SHA for cb7c899
library/std/src/panic.rs
@@ -114,6 +114,9 @@ where
114
/// aborting the process as well. This function *only* catches unwinding panics,
115
/// not those that abort the process.
116
///
117
+/// Note that if a custom panic hook has been set, it will be invoked before
118
+/// the panic is caught, before unwinding.
119
+///
120
/// Also note that unwinding into Rust code with a foreign exception (e.g.
121
/// an exception thrown from C++ code) is undefined behavior.
122
0 commit comments