mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-31 00:53:48 +00:00
2cb83fdd7e
Similarly to #12422 which made stdin buffered by default, this commit makes the output streams also buffered by default. Now that buffered writers will flush their contents when they are dropped, I don't believe that there's no reason why the output shouldn't be buffered by default, which is what you want in 90% of cases. As with stdin, there are new stdout_raw() and stderr_raw() functions to get unbuffered streams to stdout/stderr. |
||
---|---|---|
.. | ||
lib.rs |