Closed as not planned
Description
Problem
Even with TERM=dumb
, cargo buffers stderr stdout, meaning I do not see things printed to stdout without a trailing \n
.
For Miri, we use cargo rustc
set up RUSTC_WRAPPER such that we can intercept the call that builds a binary, to instead run it with Miri. Unfortunately, if the application prints to stdout, that output is buffered by Cargo. This is a problem in particular when running a test suite, because it means I cannot see which test is taking long when the test suite just stops.
Possible Solution(s)
When Cargo prints no progress bar, it should leave stdout of the running application entirely unmodified, and not introduce any additional line buffering.
Notes
Output of cargo version
: cargo 1.34.0-nightly (2458180 2019-01-27)