7 Commits

Author SHA1 Message Date
jyn
d5f2b8e5c6 Only depend on CFG_VERSION in rustc_interface
this avoids having to rebuild the whole compiler on each commit when
`omit-git-hash = false`.
2023-05-17 23:54:21 -05:00
Ben Kimock
0445fbdd83 Store hashes in special types so they aren't accidentally encoded as numbers 2023-04-18 10:52:47 -04:00
Oli Scherer
d30848b30a Use Symbol for the crate name instead of String/str 2022-12-07 20:30:02 +00:00
bjorn3
96d3bd467d Revert "Revert "Fix test""
This reverts commit 6c5b6985fdce0921fe4ac0247fd026355953c1ea.
2021-07-06 11:28:06 +02:00
bjorn3
6c5b6985fd Revert "Fix test"
This reverts commit 3abdebe79d9a3a2256a36fe8f408dad6a466f89f.
2021-06-07 10:25:32 +02:00
bjorn3
3abdebe79d Fix test 2021-05-30 12:51:36 +02:00
Michael Woerister
9e5054498b Add unit test to ensure that both parts of a DefPathHash depend on the defining crate's ID. 2021-02-04 16:33:58 +01:00