Skip to content

Commit df2da84

Browse files
committed
Change format of messages in Builder::fmt
1 parent fbfcfa6 commit df2da84

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/bootstrap/src/lib.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1130,11 +1130,12 @@ impl Build {
11301130
let action = action.into().description();
11311131
let msg = |fmt| format!("{action} stage{actual_stage} {what}{fmt}");
11321132
let msg = if let Some(target) = target.into() {
1133+
let build_stage = host_and_stage.stage;
11331134
let host = host_and_stage.host;
11341135
if host == target {
1135-
msg(format_args!(" ({target})"))
1136+
msg(format_args!(" (stage{build_stage} -> stage{actual_stage}, {target})"))
11361137
} else {
1137-
msg(format_args!(" ({host} -> {target})"))
1138+
msg(format_args!(" (stage{build_stage}:{host} -> stage{actual_stage}:{target})"))
11381139
}
11391140
} else {
11401141
msg(format_args!(""))

0 commit comments

Comments
 (0)