From a54ddd494f7ea021c0650870b72f6023b25ce6b4 Mon Sep 17 00:00:00 2001 From: Amanieu d'Antras Date: Wed, 9 Feb 2022 17:43:00 +0000 Subject: [PATCH] Update comment about personalities in panic_abort --- library/panic_abort/src/lib.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/library/panic_abort/src/lib.rs b/library/panic_abort/src/lib.rs index 7cce14be4fd..cba8ef25db6 100644 --- a/library/panic_abort/src/lib.rs +++ b/library/panic_abort/src/lib.rs @@ -113,7 +113,11 @@ unsafe fn abort() -> ! { // binaries, but it should never be called as we don't link in an unwinding // runtime at all. pub mod personalities { - // Similar to above, this corresponds to the `eh_catch_typeinfo` lang item + // In the past this module used to contain stubs for the personality + // functions of various platforms, but these where removed when personality + // functions were moved to std. + + // This corresponds to the `eh_catch_typeinfo` lang item // that's only used on Emscripten currently. // // Since panics don't generate exceptions and foreign exceptions are