about summary refs log tree commit diff
path: root/library/panic_abort
diff options
context:
space:
mode:
authorAmanieu d'Antras <amanieu@gmail.com>2022-02-09 17:43:00 +0000
committerAmanieu d'Antras <amanieu@gmail.com>2022-08-23 16:12:58 +0800
commita54ddd494f7ea021c0650870b72f6023b25ce6b4 (patch)
tree1c992c67f36a620208ab9752aaea2cdbb2cdf5a2 /library/panic_abort
parentc110329f25bf8c3103e5c5298775468df80c3517 (diff)
downloadrust-a54ddd494f7ea021c0650870b72f6023b25ce6b4.tar.gz
rust-a54ddd494f7ea021c0650870b72f6023b25ce6b4.zip
Update comment about personalities in panic_abort
Diffstat (limited to 'library/panic_abort')
-rw-r--r--library/panic_abort/src/lib.rs6
1 files changed, 5 insertions, 1 deletions
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 @@ pub unsafe fn __rust_start_panic(_payload: *mut &mut dyn BoxMeUp) -> u32 {
 // 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