Skip to content

Conversation

@andreacorbellini
Copy link

This changes std::io::Stdout so that:

  • it is line-buffered when connected to a terminal
  • it is block-buffered otherwise

This matches the behavior of standard library implementations from other popular languages (C/C++/Python just to name a few).

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Oct 30, 2025
@rustbot
Copy link
Collaborator

rustbot commented Oct 30, 2025

r? @Mark-Simulacrum

rustbot has assigned @Mark-Simulacrum.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@andreacorbellini
Copy link
Author

This PR seems to have discovered an interesting bug. Reported at #148278

@the8472
Copy link
Member

the8472 commented Oct 30, 2025

Please see #60673 for prior discussion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

O-windows Operating system: Windows S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants