Skip to content

Commit a54ddd4

Browse files
committed
Update comment about personalities in panic_abort
1 parent c110329 commit a54ddd4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

library/panic_abort/src/lib.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,11 @@ pub unsafe fn __rust_start_panic(_payload: *mut &mut dyn BoxMeUp) -> u32 {
113113
// binaries, but it should never be called as we don't link in an unwinding
114114
// runtime at all.
115115
pub mod personalities {
116-
// Similar to above, this corresponds to the `eh_catch_typeinfo` lang item
116+
// In the past this module used to contain stubs for the personality
117+
// functions of various platforms, but these where removed when personality
118+
// functions were moved to std.
119+
120+
// This corresponds to the `eh_catch_typeinfo` lang item
117121
// that's only used on Emscripten currently.
118122
//
119123
// Since panics don't generate exceptions and foreign exceptions are

0 commit comments

Comments
 (0)