-
Notifications
You must be signed in to change notification settings - Fork 557
Open
Labels
A-incr-compArea: incremental compilation C-enhancementCategory: enhancement E-help-wantedCall for participation: extra help is wanted E-mediumDifficulty: might require some prior knowledge or code reading E-needs-writeupCall for participation: discussion can be written up without much research required T-compilerRelevant to compiler team
@RalfJung
Description
So rustc is full of these impl_stable_hash_for
. What are these for? I originally thought that would be for FxHashMap
, but that seems to be wrong (I still need to derive(Hash)
to use FxHashMap
). So now I am just confused. It would be great if the guide could explain that.
@eddyb said "incremental" but that on its own does not explain much of anything -- why is Hash
not good enough? Why do I need a tcx
to compute a "stable hash"?
Metadata
Metadata
Assignees
Labels
A-incr-compArea: incremental compilation C-enhancementCategory: enhancement E-help-wantedCall for participation: extra help is wanted E-mediumDifficulty: might require some prior knowledge or code reading E-needs-writeupCall for participation: discussion can be written up without much research required T-compilerRelevant to compiler team