Commit 53094e3
committed
enable progress bar on all UNIX platforms
The progress bar rendered at the base of ongoing output from Cargo is
presently only drawn on a subset of UNIX platforms: FreeBSD, Linux, and
Mac OS. The functionality required is basic, and essentially
universally available: "ioctl()", "TIOCGWINSZ", and "STDERR_FILENO".
When your platform is not in this list, the difference in behaviour is
subtle and the exact mechanism is difficult to locate. It would be
better to fail to build on new ports until these definitions become
available in the libc crate for those platforms.1 parent 231777f commit 53094e3
1 file changed
+2
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
379 | 379 | | |
380 | 380 | | |
381 | 381 | | |
382 | | - | |
| 382 | + | |
383 | 383 | | |
384 | 384 | | |
385 | 385 | | |
| |||
408 | 408 | | |
409 | 409 | | |
410 | 410 | | |
411 | | - | |
412 | | - | |
413 | | - | |
414 | | - | |
415 | | - | |
416 | | - | |
417 | | - | |
418 | | - | |
419 | | - | |
420 | | - | |
421 | | - | |
422 | | - | |
423 | 411 | | |
424 | 412 | | |
425 | 413 | | |
| |||
476 | 464 | | |
477 | 465 | | |
478 | 466 | | |
479 | | - | |
480 | | - | |
481 | | - | |
482 | | - | |
483 | | - | |
484 | | - | |
485 | | - | |
| 467 | + | |
486 | 468 | | |
487 | 469 | | |
488 | 470 | | |
| |||
0 commit comments