Panics don't lock stderr while printing panic info #124995
Labels
A-panic
Area: Panicking machinery
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
T-libs
Relevant to the library team, which will review and decide on the PR/issue.
Panics don't seem to lock stderr while printing, so if multiple threads panic at once, this will happen:
As you can see, i forgot a
todo!()
in the code and 4 threads executed it at the same timeMeta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: