about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-09-15 06:03:46 +0200
committerGitHub <noreply@github.com>2025-09-15 06:03:46 +0200
commitd316cfdbf94608ebbead09635f3c1cb0129e5c96 (patch)
treeb23253198271aa91f04202b4b6796b36f8e6c853 /src
parentb59f0a27da29b01b0840d02a14e4fee11687ad12 (diff)
parentfefc9793740e88585a28ed966100718df9dbe522 (diff)
downloadrust-d316cfdbf94608ebbead09635f3c1cb0129e5c96.tar.gz
rust-d316cfdbf94608ebbead09635f3c1cb0129e5c96.zip
Rollup merge of #146471 - neuschaefer:no-target, r=Mark-Simulacrum
bootstrap: Show target in "No such target exists" message

This makes it a little easier to pinpoint the issue.
Diffstat (limited to 'src')
-rw-r--r--src/bootstrap/src/core/sanity.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/src/core/sanity.rs b/src/bootstrap/src/core/sanity.rs
index 04cf63f1c6d..68202500d97 100644
--- a/src/bootstrap/src/core/sanity.rs
+++ b/src/bootstrap/src/core/sanity.rs
@@ -287,7 +287,7 @@ than building it.
 
             if !has_target {
                 panic!(
-                    "No such target exists in the target list,\n\
+                    "{target_str}: No such target exists in the target list,\n\
                      make sure to correctly specify the location \
                      of the JSON specification file \
                      for custom targets!\n\