Auto merge of #106812 - oli-obk:output_filenames, r=petrochenkov
make `output_filenames` a real query part of #105462 This may be a perf regression and is not obviously the right way forward. We may store this information in the resolver after freezing it for example.
This commit is contained in:
commit
d7948c843d
16 changed files with 119 additions and 47 deletions
|
@ -1863,9 +1863,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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue