Commit 293a491
authored
Rollup merge of rust-lang#80887 - camelid:fix-log-color-auto, r=RalfJung
log-color: Detect TTY based on stderr, not stdout
Fixes rust-lang#78435 (again).
Logging goes to stderr, not stdout, so we should base our automated
detection on stderr instead of stdout.
Thanks to Ralf Jung for noticing and reporting the bug!
r? `@oli-obk`
cc `@RalfJung`1 file changed
+21
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
566 | 566 | | |
567 | 567 | | |
568 | 568 | | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
569 | 588 | | |
570 | 589 | | |
571 | 590 | | |
| |||
1290 | 1309 | | |
1291 | 1310 | | |
1292 | 1311 | | |
1293 | | - | |
| 1312 | + | |
1294 | 1313 | | |
1295 | 1314 | | |
1296 | 1315 | | |
| |||
1299 | 1318 | | |
1300 | 1319 | | |
1301 | 1320 | | |
1302 | | - | |
| 1321 | + | |
1303 | 1322 | | |
1304 | 1323 | | |
1305 | 1324 | | |
| |||
0 commit comments