Commit 1f4eeb4
committed
refactor(fingerprint): Track the intent for each use of UnitHash
We have
- `-C metadata`
- `-C extra-filename`
- Uniquifying build scripts
- Uniquifying scraped documentation
The last two I'm tracking as a `unit_id`. As we evolve the first two
hashes, we can decide which would be a better fit for backing this.
For scraping, we could treat this as
`-C extra-filename` but then we'd have a lot of `.expect()`s.1 parent 3f79db7 commit 1f4eeb4
File tree
4 files changed
+28
-30
lines changed- src/cargo/core/compiler
- build_runner
- job_queue
4 files changed
+28
-30
lines changedLines changed: 14 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
95 | | - | |
| 94 | + | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
105 | 107 | | |
106 | 108 | | |
107 | 109 | | |
| |||
230 | 232 | | |
231 | 233 | | |
232 | 234 | | |
233 | | - | |
234 | | - | |
| 235 | + | |
| 236 | + | |
235 | 237 | | |
236 | 238 | | |
237 | 239 | | |
| |||
475 | 477 | | |
476 | 478 | | |
477 | 479 | | |
478 | | - | |
| 480 | + | |
479 | 481 | | |
480 | 482 | | |
481 | 483 | | |
| |||
533 | 535 | | |
534 | 536 | | |
535 | 537 | | |
536 | | - | |
537 | | - | |
538 | | - | |
| 538 | + | |
539 | 539 | | |
540 | 540 | | |
541 | 541 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
443 | 443 | | |
444 | 444 | | |
445 | 445 | | |
446 | | - | |
| 446 | + | |
447 | 447 | | |
448 | 448 | | |
449 | 449 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
685 | 685 | | |
686 | 686 | | |
687 | 687 | | |
688 | | - | |
| 688 | + | |
689 | 689 | | |
690 | 690 | | |
691 | 691 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | | - | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
291 | 288 | | |
292 | 289 | | |
293 | 290 | | |
| |||
766 | 763 | | |
767 | 764 | | |
768 | 765 | | |
769 | | - | |
| 766 | + | |
770 | 767 | | |
771 | 768 | | |
772 | 769 | | |
| |||
844 | 841 | | |
845 | 842 | | |
846 | 843 | | |
847 | | - | |
| 844 | + | |
848 | 845 | | |
849 | 846 | | |
850 | 847 | | |
| |||
1158 | 1155 | | |
1159 | 1156 | | |
1160 | 1157 | | |
1161 | | - | |
1162 | | - | |
| 1158 | + | |
| 1159 | + | |
| 1160 | + | |
1163 | 1161 | | |
1164 | | - | |
| 1162 | + | |
1165 | 1163 | | |
1166 | 1164 | | |
1167 | 1165 | | |
| |||
0 commit comments