File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
src/cargo/core/compiler/fingerprint Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -548,15 +548,18 @@ struct DepFingerprint {
548548/// as a fingerprint (all source files must be modified *before* this mtime).
549549/// This dep-info file is not generated, however, until after the crate is
550550/// compiled. As a result, this structure can be thought of as a fingerprint
551- /// to-be. The actual value can be calculated via `hash_u64()`, but the operation
551+ /// to-be. The actual value can be calculated via [ `hash_u64()`] , but the operation
552552/// may fail as some files may not have been generated.
553553///
554554/// Note that dependencies are taken into account for fingerprints because rustc
555555/// requires that whenever an upstream crate is recompiled that all downstream
556556/// dependents are also recompiled. This is typically tracked through
557- /// `DependencyQueue`, but it also needs to be retained here because Cargo can
558- /// be interrupted while executing, losing the state of the `DependencyQueue`
557+ /// [ `DependencyQueue`] , but it also needs to be retained here because Cargo can
558+ /// be interrupted while executing, losing the state of the [ `DependencyQueue`]
559559/// graph.
560+ ///
561+ /// [`hash_u64()`]: crate::core::compiler::fingerprint::Fingerprint::hash_u64
562+ /// [`DependencyQueue`]: crate::util::DependencyQueue
560563#[ derive( Serialize , Deserialize ) ]
561564pub struct Fingerprint {
562565 /// Hash of the version of `rustc` used.
You can’t perform that action at this time.
0 commit comments