about summary refs log tree commit diff
path: root/library/std/src/rt.rs
diff options
context:
space:
mode:
authorLieselotte <52315535+she3py@users.noreply.github.com>2025-04-18 15:02:22 +0200
committerLieselotte <52315535+she3py@users.noreply.github.com>2025-04-18 15:02:22 +0200
commit17b7d63fd787699dac3fffbf9930dc799291a5f2 (patch)
tree94ec4ada15f8396e159336ef899370e2af0423da /library/std/src/rt.rs
parent0d56e3eed1c5f3edea5cae6171e7a706ad792463 (diff)
downloadrust-17b7d63fd787699dac3fffbf9930dc799291a5f2.tar.gz
rust-17b7d63fd787699dac3fffbf9930dc799291a5f2.zip
rtprintpanic: clarify that the error is aborting the process
Diffstat (limited to 'library/std/src/rt.rs')
-rw-r--r--library/std/src/rt.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/rt.rs b/library/std/src/rt.rs
index 3a22a16cb16..9737b2f5bfe 100644
--- a/library/std/src/rt.rs
+++ b/library/std/src/rt.rs
@@ -46,7 +46,7 @@ macro_rules! rtprintpanic {
 macro_rules! rtabort {
     ($($t:tt)*) => {
         {
-            rtprintpanic!("fatal runtime error: {}\n", format_args!($($t)*));
+            rtprintpanic!("fatal runtime error: {}, aborting\n", format_args!($($t)*));
             crate::sys::abort_internal();
         }
     }