Allow pretty printing paths with -Zself-profile-events=args

This commit is contained in:
Jakub Beránek
2025-07-25 20:45:00 +02:00
parent a955f1cd09
commit 4ef18ab062
4 changed files with 24 additions and 0 deletions

View File

@@ -313,6 +313,7 @@ impl Session {
|| self.opts.unstable_opts.query_dep_graph
|| self.opts.unstable_opts.dump_mir.is_some()
|| self.opts.unstable_opts.unpretty.is_some()
|| self.prof.is_args_recording_enabled()
|| self.opts.output_types.contains_key(&OutputType::Mir)
|| std::env::var_os("RUSTC_LOG").is_some()
{