Module rustc_middle::query::on_disk_cache
source · Modules
Macros
Structs
- A decoder that can read from the incremental compilation cache. It is similar to the one we use for crate metadata decoding in that it can rebase spans and eventually will also handle things that contain
Ty
instances. - An encoder that can write to the incremental compilation cache.
- An
EncodedSourceFileId
is the same as aStableSourceFileId
except that the source crate is represented as a StableCrateId instead of as aCrateNum
. This wayEncodedSourceFileId
can be encoded and decoded without any additional context, i.e. with a simpleopaque::Decoder
(which is the only thing available when decoding the cache’s Footer. - Footer 🔒
- Provides an interface to incremental compilation data cached from the previous compilation session. This data will eventually include the results of a few selected queries (like
typeck
andmir_optimized
) and any side effects that have been emitted during a query.