-
Notifications
You must be signed in to change notification settings - Fork 13.3k
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
Only hash dep node indices of deps of anon tasks #60573
Conversation
@@ -1021,25 +1021,17 @@ impl CurrentDepGraph { | |||
fn complete_anon_task(&mut self, kind: DepKind, task_deps: TaskDeps) -> DepNodeIndex { | |||
debug_assert!(!kind.is_eval_always()); | |||
|
|||
let mut fingerprint = self.anon_id_seed; |
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.
Can you add a comment explaining why this works? Especially why it is OK to stable-hash unstable data like DepNodeIndex
values?
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.
Done.
@bors try |
Only hash dep node indices of deps of anon tasks Another change split out from #60035. r? @michaelwoerister
📌 Commit 97d3ad0 has been approved by |
Only hash dep node indices of deps of anon tasks Another change split out from #60035. r? @michaelwoerister
☀️ Test successful - checks-travis, status-appveyor |
Looks like this did not make much of a difference: |
Another change split out from #60035.
r? @michaelwoerister