Skip to content

Commit fefc979

Browse files
committed
bootstrap: Show target in "No such target exists" message
This makes it a little easier to pinpoint the issue.
1 parent 8e2ed71 commit fefc979

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)