Fix some comments.
- It's `--print`, not `--prints`. - `-Ztime` and `-Ztime-passes` print to stderr, not stdout.
This commit is contained in:
parent
0922559768
commit
eea06de0c8
2 changed files with 6 additions and 6 deletions
|
@ -128,8 +128,8 @@ pub struct TimePassesCallbacks {
|
|||
|
||||
impl Callbacks for TimePassesCallbacks {
|
||||
fn config(&mut self, config: &mut interface::Config) {
|
||||
// If a --prints=... option has been given, we don't print the "total"
|
||||
// time because it will mess up the --prints output. See #64339.
|
||||
// If a --print=... option has been given, we don't print the "total"
|
||||
// time because it will mess up the --print output. See #64339.
|
||||
self.time_passes = config.opts.prints.is_empty() && config.opts.time_passes();
|
||||
config.opts.trimmed_def_paths = TrimmedDefPaths::GoodPath;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue