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 505ed7f commit af7c540Copy full SHA for af7c540
library/panic_abort/src/lib.rs
@@ -116,6 +116,19 @@ pub mod personalities {
116
)))]
117
pub extern "C" fn rust_eh_personality() {}
118
119
+ // On *-pc-windows-msvc we need such a symbol to make linker happy.
120
+ #[allow(non_snake_case)]
121
+ #[no_mangle]
122
+ #[cfg(all(target_os = "windows", target_env = "msvc"))]
123
+ pub extern "C" fn __CxxFrameHandler3(
124
+ _record: usize,
125
+ _frame: usize,
126
+ _context: usize,
127
+ _dispatcher: usize,
128
+ ) -> u32 {
129
+ 1
130
+ }
131
+
132
// On x86_64-pc-windows-gnu we use our own personality function that needs
133
// to return `ExceptionContinueSearch` as we're passing on all our frames.
134
#[rustc_std_internal_symbol]
0 commit comments