-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include the linker in the fingerprint. #9647
Conversation
(rust-highfive has picked a reviewer for you, use r? to override) |
I could swear we've talked about this, but I can't find any records or issues related to it. |
@@ -812,7 +812,7 @@ impl Fingerprint { | |||
*self.memoized_hash.lock().unwrap() = None; | |||
} | |||
|
|||
fn hash(&self) -> u64 { | |||
fn hash_u64(&self) -> u64 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I renamed this because there were two functions with the same name but different signatures (the inherent fn and the trait). This caused a problem when importing the trait, and was also confusing.
@bors: r+ |
📌 Commit 28c3bef has been approved by |
☀️ Test successful - checks-actions |
Update cargo 5 commits in 4952979031e2cf1d901c817a32e25a156a19db4c..3ebb5f15a940810f250b68821149387af583a79e 2021-07-01 01:14:50 +0000 to 2021-07-02 20:35:38 +0000 - Adjust the edition2021 resolver diff report. (rust-lang/cargo#9649) - Include the linker in the fingerprint. (rust-lang/cargo#9647) - Temporarily disable windows env test. (rust-lang/cargo#9646) - Handle git deleted files with dirty worktree. (rust-lang/cargo#9645) - Adjust error message with offline and frozen. (rust-lang/cargo#9644)
This adds the linker from the
[target]
config table to the fingerprint. Previously, changing the value would not trigger a rebuild.