1
Fork 0

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

@ -1862,9 +1862,10 @@ rustc_queries! {
///
/// This query returns an `&Arc` because codegen backends need the value even after the `TyCtxt`
/// has been destroyed.
query output_filenames(_: ()) -> &'tcx Arc<OutputFilenames> {
query output_filenames(_: ()) -> Arc<OutputFilenames> {
feedable
desc { "getting output filenames" }
arena_cache
}
/// Do not call this query directly: invoke `normalize` instead.