Fix comment on the SEH personality function

This commit is contained in:
Amanieu d'Antras 2022-02-09 14:00:43 +00:00
parent 8818b00b63
commit db94dbc597

View file

@ -325,8 +325,8 @@ pub unsafe fn cleanup(payload: *mut u8) -> Box<dyn Any + Send> {
}
// This is required by the compiler to exist (e.g., it's a lang item), but
// it's never actually called by the compiler because __C_specific_handler
// or _except_handler3 is the personality function that is always used.
// it's never actually called by the compiler because _CxxFrameHandler3
// is the personality function that is always used.
// Hence this is just an aborting stub.
#[lang = "eh_personality"]
#[cfg(not(test))]