| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2021-07-23 | Encode SourceFile source crate as StableCrateId in incr. comp. OnDiskCache. | Michael Woerister | -5/+33 | |
| 2021-07-23 | Access stable_crate_id directly. | Camille GILLOT | -2/+1 | |
| 2021-07-23 | Do not store crate in latest_foreign_def_path_hashes. | Camille GILLOT | -7/+0 | |
| 2021-07-23 | Encode CrateNum using the StableCrateId for incr. comp. | Camille GILLOT | -64/+37 | |
| 2021-06-08 | Do not require the DefPathTable to construct the on-disk cache. | Camille GILLOT | -21/+3 | |
| 2021-06-07 | Revert "Merge CrateDisambiguator into StableCrateId" | bjorn3 | -10/+14 | |
| This reverts commit d0ec85d3fb6d322496cb8f4bc1c21e19f23284ad. | ||||
| 2021-06-02 | Auto merge of #85905 - cjgillot:one-trait-map, r=Aaron1011 | bors | -1/+0 | |
| Only compute the trait map once Part of #85153 r? `@Aaron1011` | ||||
| 2021-06-01 | Auto merge of #85829 - bjorn3:simplify_crate_num, r=jackh726 | bors | -2/+1 | |
| Remove CrateNum::ReservedForIncrCompCache It's only use is easily replaceable with `Option<CrateNum>`. | ||||
| 2021-06-01 | Remove StableVec. | Camille GILLOT | -1/+0 | |
| 2021-06-01 | Revert "Reduce the amount of untracked state in TyCtxt" | Camille Gillot | -6/+2 | |
| 2021-05-30 | Make allocator_kind a query. | Camille GILLOT | -0/+1 | |
| 2021-05-30 | Remove StableVec. | Camille GILLOT | -1/+0 | |
| 2021-05-30 | Make resolutions a query. | Camille GILLOT | -1/+5 | |
| 2021-05-30 | Remove CrateNum::ReservedForIncrCompCache | bjorn3 | -2/+1 | |
| 2021-05-30 | Merge CrateDisambiguator into StableCrateId | bjorn3 | -14/+10 | |
| 2021-05-22 | Make THIR building a stealable query | LeSeulArtichaut | -0/+1 | |
| 2021-05-12 | Use () for lang items. | Camille GILLOT | -1/+1 | |
| 2021-05-12 | Auto merge of #83610 - bjorn3:driver_cleanup, r=cjgillot | bors | -13/+7 | |
| rustc_driver cleanup Best reviewed one commit at a time. | ||||
| 2021-05-11 | improve diagnosts for GATs | b-naber | -1/+3 | |
| 2021-05-11 | Rollup merge of #84777 - jyn514:rustdoc-parallel, r=Mark-Simulacrum | Yuki Okushi | -0/+1 | |
| Apply `--cfg parallel_compiler` when documenting This also reverts commit 9823c2cc700fea541bf2670fcee93af662b63022 working around the bug. Fixes https://github.com/rust-lang/rust/issues/82301. | ||||
| 2021-05-02 | Let load_query_result_cache take a &DefPathTable | bjorn3 | -13/+7 | |
| This allows removing a confusing mem::replace in create_global_ctxt | ||||
| 2021-05-01 | Auto merge of #83114 - cjgillot:hop, r=eddyb | bors | -1/+0 | |
| Move HIR parenting information out of hir_owner Split out of #82681. The parent of a HIR node and its content are currently bundled together, but are rarely used together. This PR separates both information in two distinct queries for HIR owners. This reduces incremental invalidation for HIR items that appear within a function body when this body (and the local ids) changes. | ||||
| 2021-05-01 | Apply `--cfg parallel_compiler` when documenting | Joshua Nelson | -0/+1 | |
| This also reverts commit 9823c2cc700fea541bf2670fcee93af662b63022 working around the bug. | ||||
| 2021-04-29 | Move iter_results to dyn FnMut rather than a generic | Mark Rousskov | -14/+21 | |
| This means that we're no longer generating the iteration/locking code for each invocation site of iter_results, rather just once per query. This is a 15% win in instruction counts when compiling the rustc_query_impl crate. | ||||
| 2021-04-29 | Split crate_hash from index_hir. | Camille GILLOT | -1/+0 | |
| 2021-03-27 | lazily calls some fns | klensy | -1/+1 | |
| 2021-03-22 | Auto merge of #83376 - Dylan-DPC:rollup-s2fsjwj, r=Dylan-DPC | bors | -2/+5 | |
| Rollup of 7 pull requests Successful merges: - #82374 (Add license metadata for std dependencies) - #82683 (Document panicking cases for integer division and remainder) - #83272 (Clarify non-exact length in the Iterator::take documentation) - #83338 (Fix test for #82270) - #83351 (post-drop-elab check-const: explain why we still check qualifs) - #83367 (Improve error message for unassigned query provider) - #83372 (SplitInclusive is public API) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup | ||||
| 2021-03-21 | Improve error message for unassigned query provider | Rich Kadel | -2/+5 | |
| Fixes: 83122 | ||||
| 2021-03-19 | Remove FingerprintEncoder/Decoder. | Camille GILLOT | -13/+0 | |
| 2021-03-19 | Move raw bytes handling to Encoder/Decoder. | Camille GILLOT | -0/+1 | |
| 2021-03-18 | Move IntEncodedWithFixedSize to rustc_serialize. | Camille GILLOT | -37/+1 | |
| 2021-03-16 | Auto merge of #82936 - oli-obk:valtree, r=RalfJung,lcnr,matthewjasper | bors | -1/+1 | |
| Implement (but don't use) valtree and refactor in preparation of use This PR does not cause any functional change. It refactors various things that are needed to make valtrees possible. This refactoring got big enough that I decided I'd want it reviewed as a PR instead of trying to make one huge PR with all the changes. cc `@rust-lang/wg-const-eval` on the following commits: * 2027184 implement valtree * eeecea9 fallible Scalar -> ScalarInt * 042f663 ScalarInt convenience methods cc `@eddyb` on ef04a6d cc `@rust-lang/wg-mir-opt` for cf1700c (`mir::Constant` can now represent either a `ConstValue` or a `ty::Const`, and it is totally possible to have two different representations for the same value) | ||||
| 2021-03-14 | Don't encode file information for span with a dummy location | Aaron Hill | -3/+3 | |
| Fixes #83112 The location information for a dummy span isn't real, so don't encode it. This brings the incr comp cache code into line with the Span `StableHash` impl, which doesn't hash the location information for dummy spans. Previously, we would attempt to load the 'original' file from a dummy span - if the file id changed (e.g. due to being moved on disk), we would get an ICE, since the Span was still valid due to its hash being unchanged. | ||||
| 2021-03-12 | Implement valtree | Oli Scherer | -1/+1 | |
| valtree is a version of constants that is inherently safe to be used within types. This is in contrast to ty::Const which can have different representations of the same value. These representation differences can show up in hashing or equality comparisons, breaking type equality of otherwise equal types. valtrees do not have this problem. | ||||
| 2021-02-19 | Workaround rustdoc not honouring cfg(parallel_compiler). | Camille GILLOT | -1/+0 | |
| 2021-02-19 | Move the query system to rustc_query_impl. | Camille GILLOT | -1616/+18 | |
| 2021-02-19 | Introduce a QueryEngine trait object. | Camille GILLOT | -51/+89 | |
| 2021-02-19 | Make encode_query_results more generic. | Camille GILLOT | -7/+9 | |
| 2021-02-19 | Move query names and Providers to parent module. | Camille GILLOT | -71/+65 | |
| 2021-02-19 | Wrap QueryDescription into a macro. | Camille GILLOT | -3/+13 | |
| 2021-02-19 | Split DepKindStruct in two. | Camille GILLOT | -2/+142 | |
| 2021-02-19 | Use QueryCtxt in DepKindStruct. | Camille GILLOT | -2/+2 | |
| 2021-02-19 | Use a QueryContext for try_mark_green. | Camille GILLOT | -1/+95 | |
| 2021-02-19 | Select caching strategy per query. | Camille GILLOT | -70/+1 | |
| The per-Key choice was not used. | ||||
| 2021-02-19 | Move definition of callbacks to parent module. | Camille GILLOT | -83/+88 | |
| 2021-02-19 | Move handle_deadlock where it is used. | Camille GILLOT | -29/+1 | |
| 2021-02-19 | Move try_load_from_on_disk_cache to the QueryContext. | Camille GILLOT | -1/+10 | |
| 2021-02-19 | Move try_print_query_stack to rustc_interface. | Camille GILLOT | -48/+38 | |
| 2021-02-19 | Make alloc_self_profile_query_strings a standalone function. | Camille GILLOT | -37/+40 | |
| 2021-02-19 | Make QueryEngine opaque to TyCtxt. | Camille GILLOT | -34/+62 | |
