Skip to content

Commit d316cfd

Browse files
authored
Rollup merge of rust-lang#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.
2 parents b59f0a2 + fefc979 commit d316cfd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/src/core/sanity.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ than building it.
287287

288288
if !has_target {
289289
panic!(
290-
"No such target exists in the target list,\n\
290+
"{target_str}: No such target exists in the target list,\n\
291291
make sure to correctly specify the location \
292292
of the JSON specification file \
293293
for custom targets!\n\

0 commit comments

Comments
 (0)