Closed
Description
Right, now x build --dry-run
outputs something like this:
Building stage0 library artifacts (x86_64-apple-darwin -> x86_64-apple-darwin)
Copying stage0 library from stage0 (x86_64-apple-darwin -> x86_64-apple-darwin / x86_64-apple-darwin)
Building stage0 compiler artifacts (x86_64-apple-darwin -> x86_64-apple-darwin)
Copying stage0 rustc from stage0 (x86_64-apple-darwin -> x86_64-apple-darwin / x86_64-apple-darwin)
Assembling stage1 compiler (x86_64-apple-darwin)
Building stage1 library artifacts (x86_64-apple-darwin -> x86_64-apple-darwin)
Copying stage1 library from stage1 (x86_64-apple-darwin -> x86_64-apple-darwin / x86_64-apple-darwin)
Building stage1 tool rust-analyzer-proc-macro-srv (x86_64-apple-darwin)
Building rustdoc for stage1 (x86_64-apple-darwin)
There are a few things here that are not ideal.
x86_64-apple-darwin -> x86_64-apple-darwin
doesn't give a lot of info and is very noisy. We should only print it when the host and target are different.- "Building stage0 compiler artifacts" is very unclear that stage0 is the one doing the compiling.
I'd like to change this to something like Building compiler artifacts (stage0 -> stage1)
when the target/host are the same and Building compiler artifacts (stage0: x86_64-apple-darwin -> stage1: x86_64-unknown-linux-gnu)
when they're different.