1
Fork 0

Show lib features in -Zls and allow configuring which things are shown

This commit is contained in:
bjorn3 2023-09-10 13:24:20 +00:00
parent 369a8ac52b
commit ff00763dd1
5 changed files with 123 additions and 72 deletions

View file

@ -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]