Show lib features in -Zls and allow configuring which things are shown
This commit is contained in:
parent
369a8ac52b
commit
ff00763dd1
5 changed files with 123 additions and 72 deletions
|
@ -1086,7 +1086,7 @@ impl Options {
|
|||
/// Returns `true` if there will be an output file generated.
|
||||
pub fn will_create_output_file(&self) -> bool {
|
||||
!self.unstable_opts.parse_only && // The file is just being parsed
|
||||
!self.unstable_opts.ls // The file is just being queried
|
||||
self.unstable_opts.ls.is_empty() // The file is just being queried
|
||||
}
|
||||
|
||||
#[inline]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue