-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Prevent rustc stderr/stdout from being duplicated. #4230
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @alexcrichton (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
Looks good! Would it be possible to add a test for this? |
I'd guess it'd be somewhat hard -- I'd have to check for a lack of output. I worry that that would make the test too specific; but if you'd like I can look into adding one -- I believe I'd probably edit |
Oh yeah most Cargo test caes exhaustively match the output, so it shouldn't be too hard to test for a lack of output (just don't write it down but be sure to add some assertion). Anywhere's fine by me! |
d3efdf6
to
f377ae2
Compare
Added a test, and confirmed it doesn't pass on master and does pass on this branch. |
@bors: r+ |
📌 Commit f377ae2 has been approved by |
Prevent rustc stderr/stdout from being duplicated. Please review carefully. I've not submitted patches to Cargo before, I think, so this may be flawed in some way I haven't detected yet. Tests are green locally, though. Fixes #4223
☀️ Test successful - status-appveyor, status-travis |
Please review carefully. I've not submitted patches to Cargo before, I think, so this may be flawed in some way I haven't detected yet. Tests are green locally, though.
Fixes #4223