| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-12-10 | Use `def_path_hash_to_def_id` when re-using a `RawDefId` | Aaron Hill | -0/+1 | |
| Fixes #79890 Previously, we just copied a `RawDefId` from the 'old' map to the 'new' map. However, the `RawDefId` for a given `DefPathHash` may be different in the current compilation session. Using `def_path_hash_to_def_id` ensures that the `RawDefId` we use is valid in the current session. | ||||
| 2020-12-04 | Properly re-use def path hash in incremental mode | Aaron Hill | -0/+6 | |
| Fixes #79661 In incremental compilation mode, we update a `DefPathHash -> DefId` mapping every time we create a `DepNode` for a foreign `DefId`. This mapping is written out to the on-disk incremental cache, and is read by the next compilation session to allow us to lazily decode `DefId`s. When we decode a `DepNode` from the current incremental cache, we need to ensure that any previously-recorded `DefPathHash -> DefId` mapping gets recorded in the new mapping that we write out. However, PR #74967 didn't do this in all cases, leading to us being unable to decode a `DefPathHash` in certain circumstances. This PR refactors some of the code around `DepNode` deserialization to prevent this kind of mistake from happening again. | ||||
| 2019-03-14 | Moved issue tests to subdirs and normalised names. | Alexander Regueiro | -0/+0 | |
| 2018-12-25 | Remove licenses | Mark Rousskov | -40/+0 | |
| 2018-11-30 | tests: use `force-host` and `no-prefer-dynamic` in all proc_macro tests. | Eduard-Mihai Burtescu | -0/+3 | |
| 2018-11-30 | tests: move all proc_macro tests from -fulldeps. | Eduard-Mihai Burtescu | -0/+155 | |
