Make output_filenames a real query

This commit is contained in:
Oli Scherer 2023-01-23 10:25:51 +00:00
parent abee6137f7
commit bcc8b05d5c
13 changed files with 92 additions and 28 deletions

View file

@ -333,6 +333,8 @@ fn run_compiler(
return early_exit();
}
queries.global_ctxt()?.enter(|tcx| tcx.output_filenames(()));
if sess.opts.output_types.contains_key(&OutputType::DepInfo)
&& sess.opts.output_types.len() == 1
{