-
Notifications
You must be signed in to change notification settings - Fork 13.2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
incr.comp.: Full re-use regression for unchanged code bases #39828
Comments
Hmm, I am trying to reproduce this and so far I'm not succeeding. I see full re-use for |
One thing is that I am not seeing as many modules as the logs report. Perhaps I am not using the right set of switches. |
The problem seems to be specific to crates that contain only generic items. In these cases, we get an empty serialized dep-graph. I think that, in the new representation, if there are literally no edges then we wind up never created the work-product nodes from last time, and hence we conclude they are dirty. Roughly speaking the problem is that the second rustc run gets no re-use here:
|
Fix here: #40038 |
…woerister detect "bootstrap outputs" when serializing the dep-graph Fixes rust-lang#39828. r? @michaelwoerister
…woerister detect "bootstrap outputs" when serializing the dep-graph Fixes rust-lang#39828. r? @michaelwoerister
A while ago we stopped getting full re-use when re-compiling an unchanged code base in the rust-icci tests:
The regression seems to have been introduced in this commit range, which includes the new graph reduction algorithm: 0648517...ea7a648
cc @nikomatsakis
The text was updated successfully, but these errors were encountered: