Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

running cargo test when a rebuild is needed causes mixed text output #2550

Closed
codyps opened this issue Apr 7, 2016 · 1 comment
Closed

Comments

@codyps
Copy link
Contributor

codyps commented Apr 7, 2016

This results in (due to rustc emitting warnings) the bolding and coloring of lines to be wrong (some parts that wanted to be yellow are bold & yellow, for example) and some of the warning lines begin at the end of others, or are otherwise mixed together.

cargo should probably be buffering rustc output and emitting rustc output from different invocations separately. I believe ninja is a build system that has already solved this in a similar manner, perhaps it can provide some impl hints.

@alexcrichton
Copy link
Member

This is a dupe of #1198 (also reported as #1854), and I think the best course of action here is actually rust-lang/rust#32486, but unfortunately it's impossible to fix the problem everywhere on windows :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants