about summary refs log tree commit diff
path: root/library/panic_abort
diff options
context:
space:
mode:
authorjonathanCogan <jonathanecogan@gmail.com>2022-10-28 16:48:00 -0700
committerMara Bos <m-ou.se@m-ou.se>2022-12-30 14:00:42 +0100
commitdb47071df2647f90da5a66624caf262fa3a17456 (patch)
tree2bf358a7c3997b7dd80ccd17dda0d52f0d82ff31 /library/panic_abort
parent72067c77bdc1e8e339b9ed378a2c0ca0a9367c4d (diff)
downloadrust-db47071df2647f90da5a66624caf262fa3a17456.tar.gz
rust-db47071df2647f90da5a66624caf262fa3a17456.zip
Replace libstd, libcore, liballoc in line comments.
Diffstat (limited to 'library/panic_abort')
-rw-r--r--library/panic_abort/src/lib.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/panic_abort/src/lib.rs b/library/panic_abort/src/lib.rs
index cba8ef25db6..a3cebf99c53 100644
--- a/library/panic_abort/src/lib.rs
+++ b/library/panic_abort/src/lib.rs
@@ -61,7 +61,7 @@ pub unsafe fn __rust_start_panic(_payload: *mut &mut dyn BoxMeUp) -> u32 {
             //
             // https://docs.microsoft.com/en-us/cpp/intrinsics/fastfail
             //
-            // Note: this is the same implementation as in libstd's `abort_internal`
+            // Note: this is the same implementation as in std's `abort_internal`
             unsafe fn abort() -> ! {
                 #[allow(unused)]
                 const FAST_FAIL_FATAL_APP_EXIT: usize = 7;
@@ -89,7 +89,7 @@ pub unsafe fn __rust_start_panic(_payload: *mut &mut dyn BoxMeUp) -> u32 {
 // This... is a bit of an oddity. The tl;dr; is that this is required to link
 // correctly, the longer explanation is below.
 //
-// Right now the binaries of libcore/libstd that we ship are all compiled with
+// Right now the binaries of core/std that we ship are all compiled with
 // `-C panic=unwind`. This is done to ensure that the binaries are maximally
 // compatible with as many situations as possible. The compiler, however,
 // requires a "personality function" for all functions compiled with `-C
@@ -109,7 +109,7 @@ pub unsafe fn __rust_start_panic(_payload: *mut &mut dyn BoxMeUp) -> u32 {
 // library just defines this symbol so there's at least some personality
 // somewhere.
 //
-// Essentially this symbol is just defined to get wired up to libcore/libstd
+// Essentially this symbol is just defined to get wired up to core/std
 // binaries, but it should never be called as we don't link in an unwinding
 // runtime at all.
 pub mod personalities {