| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2021-07-18 | Move OnDiskCache to rustc_query_impl. | Camille GILLOT | -1542/+0 | |
| 2021-07-17 | Pass ExpnData by reference. | Camille GILLOT | -1/+1 | |
| 2021-07-17 | Always hash spans in expn. | Camille GILLOT | -1/+1 | |
| 2021-07-17 | Encode ExpnId using ExpnHash for incr. comp. | Camille GILLOT | -34/+59 | |
| 2021-07-17 | Choose encoding format in caller code. | Camille GILLOT | -10/+13 | |
| 2021-07-17 | Make the CrateNum part of the ExpnId. | Camille GILLOT | -3/+9 | |
| 2021-07-15 | Separate encoding paths. | Camille GILLOT | -10/+4 | |
| The two paths will be modified independently in the next few commits. | ||||
| 2021-07-13 | Cache expansion hash. | Camille GILLOT | -4/+4 | |
| 2021-07-06 | Make resolutions a query. | Camille GILLOT | -2/+8 | |
| 2021-07-06 | Revert "Revert "Merge CrateDisambiguator into StableCrateId"" | bjorn3 | -1/+0 | |
| This reverts commit 8176ab8bc18fdd7d3c2cf7f720c51166364c33a3. | ||||
| 2021-07-04 | Combine individual limit queries into single `limits` query | Aaron Hill | -1/+1 | |
| 2021-07-04 | Query-ify global limit attribute handling | Aaron Hill | -0/+1 | |
| 2021-07-01 | Rename all_crate_nums query to crates and remove useless wrapper | bjorn3 | -1/+1 | |
| 2021-06-28 | Auto merge of #85909 - cjgillot:alloc-kind-query, r=Aaron1011 | bors | -0/+1 | |
| Make allocator_kind a query. Part of #85153 r? `@Aaron1011` | ||||
| 2021-06-21 | Encode SourceFile source crate as StableCrateId in incr. comp. OnDiskCache. | Michael Woerister | -5/+33 | |
| 2021-06-20 | Make allocator_kind a query. | Camille GILLOT | -0/+1 | |
| 2021-06-09 | Access stable_crate_id directly. | Camille GILLOT | -2/+1 | |
| 2021-06-09 | Do not store crate in latest_foreign_def_path_hashes. | Camille GILLOT | -7/+0 | |
| 2021-06-09 | 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 | |
