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 3a02576 commit 8f60db8Copy full SHA for 8f60db8
src/libstd/panicking.rs
@@ -58,6 +58,7 @@ extern "C" {
58
/// This function is called by the panic runtime if FFI code catches a Rust
59
/// panic but doesn't rethrow it. We don't support this case since it messes
60
/// with our panic count.
61
+#[cfg(not(test))]
62
#[rustc_std_internal_symbol]
63
extern "C" fn __rust_drop_panic() -> ! {
64
rtabort!("Rust panics must be rethrown");
0 commit comments