diff options
| author | Jeremy Fitzhardinge <jeremy@goop.org> | 2019-12-10 23:32:52 -0800 |
|---|---|---|
| committer | Jonas Schievink <jonasschievink@gmail.com> | 2020-01-13 22:19:11 +0100 |
| commit | 50132c4ae36fe6fb0124c44700ce0cb576bf7e15 (patch) | |
| tree | 51a4ef3d31b4dced4d2fd908f9234f38cd305fc0 /src/test/ui/thinlto | |
| parent | eb3f7c2d3aec576f47eba854cfbd3c1187b8a2a0 (diff) | |
| download | rust-50132c4ae36fe6fb0124c44700ce0cb576bf7e15.tar.gz rust-50132c4ae36fe6fb0124c44700ce0cb576bf7e15.zip | |
Fix up Command Debug output when arg0 is specified.
PR https://github.com/rust-lang/rust/pull/66512 added the ability to set argv[0] on
Command. As a side effect, it changed the Debug output to print both the program and
argv[0], which in practice results in stuttery output ("echo echo foo").
This PR reverts the behaviour to the the old one, so that the command is only printed
once - unless arg0 has been set. In that case it emits "[command] arg0 arg1 ...".
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions
