I often use this flag to use println in #[test], it is working fine with println! But not with print!, can anyone guide me?
You might need to call io::stdout().flush() after print! to avoid line buffering.
7 Likes
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.