mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-26 14:43:24 +00:00
Explain &Arc.
This commit is contained in:
parent
4435dfec0f
commit
e1a72c29aa
@ -1681,6 +1681,10 @@ rustc_queries! {
|
||||
desc { "optimization level used by backend" }
|
||||
}
|
||||
|
||||
/// Return the filenames where output artefacts shall be stored.
|
||||
///
|
||||
/// This query returns an `&Arc` because codegen backends need the value even after the `TyCtxt`
|
||||
/// has been destroyed.
|
||||
query output_filenames(_: ()) -> &'tcx Arc<OutputFilenames> {
|
||||
eval_always
|
||||
desc { "output_filenames" }
|
||||
|
Loading…
Reference in New Issue
Block a user