Display the full names of targets not matching the host target tuple#4885
Conversation
There was a problem hiding this comment.
I just checked and the old version before the regression used to print both short name and target name (but one component per line), so this looks fine.
Actually a width of 100 chars might be okay in this case, given that aarch64-unknown-linux-gnu should be among the long ones already... Thanks again!
PS: I have a small nit here, please squash all changes into one before after addressing it we can merge it.
|
PPS: If there are even longer component names, then we can probably reduce the size of the progress bar itself. The width of the first column has been known since #4768 by @Cloud0310 so I guess it'd be rather easy to do afterwards. |
24fc8a7 to
99b2cb9
Compare
|
I made the requested change, formatted my code, and squashed my commits. |
There was a problem hiding this comment.
I made the requested change, formatted my code, and squashed my commits.
@mrmelon54 Many thanks again!
I have a minor question though... What do you think will be more intuitive to the user, hiding the target tuple based on the current toolchain's host target tuple, or based on the current host's target tuple?
There is a rare case where e.g. Windows x64 machines can install i686 toolchains, and in this case the former will be i686, while the latter will be x64...
I thought about that too, the default toolchain might make more sense as a baseline for hiding the target tuple. |
99b2cb9 to
e0fcc58
Compare
Displays the target tuple when it doesn't match the host target tuple.
Example output:
Resolves #4884