-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't print profiling information twice
It's important to `.clear` the messages so that we don't print them again for the next "profiling session". It might be argued that really we should have a single "profiling session" for Cargo, but we don't at the moment. And, while we are at it, let's lock stdout as well, so that we won't get confused when Cargo becomes multi-threaded and prints profiling info from several threads simultaneously.
- Loading branch information
Showing
1 changed file
with
22 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters