about summary refs log tree commit diff
path: root/compiler/rustc_query_system
AgeCommit message (Collapse)AuthorLines
2020-11-25Lazy DefPath decoding for incremental compilationAaron Hill-0/+16
2020-11-21Fix typosDániel Buga-3/+3
2020-11-18Make PackedFingerprint's Fingerprint privateTyson Nottingham-4/+4
2020-11-18Use PackedFingerprint in DepNode to reduce memory consumptionTyson Nottingham-6/+6
2020-10-30Fix even more clippy warningsJoshua Nelson-8/+4
2020-10-22Remove unused ProfileCategory.Camille GILLOT-2/+0
2020-10-22Auto merge of #77871 - Julian-Wollersberger:less-query-context, r=oli-obkbors-156/+195
Make fewer types generic over QueryContext While trying to refactor `rustc_query_system::query::QueryContext` to make it dyn-safe, I noticed some smaller things: * QueryConfig doesn't need to be generic over QueryContext * ~~The `kind` field on QueryJobId is unused~~ * Some unnecessary where clauses * Many types in `job.rs` where generic over `QueryContext` but only needed `QueryContext::Query`. If handle_cycle_error() could be refactored to not take `error: CycleError<CTX::Query>`, all those bounds could be removed as well. Changing `find_cycle_in_stack()` in job.rs to not take a `tcx` argument is the only functional change here. Everything else is just updating type signatures. (aka compile-error driven development ^^) ~~Currently there is a weird bug where memory usage suddenly skyrockets when running UI tests. I'll investigate that tomorrow. A perf run probably won't make sense before that is fixed.~~ EDIT: `kind` actually is used by `Eq`, and re-adding it fixed the memory issue.
2020-10-19Remove <CTX: QueryContext> in a bunch of places.Julian Wollersberger-152/+193
It was only needed by `find_cycle_in_stack()` in job.rs, but needed to be forwarded through dozens of types.
2020-10-14Remove unused code from rustc_query_systemest31-27/+1
2020-10-12Remove generic argument from `QueryConfig`.Julian Wollersberger-4/+2
2020-09-12update the version of itertools and parking_lotAndreas Jonson-1/+1
this is to avoid compiling multiple version of the crates in rustc
2020-08-30mv compiler to compiler/mark-0/+3467