We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9b4758 commit 1e36d9bCopy full SHA for 1e36d9b
src/cargo/core/compiler/build_runner/compilation_files.rs
@@ -593,6 +593,7 @@ fn compute_metadata(
593
.iter()
594
.map(|dep| *metadata_of(&dep.unit, build_runner, metas))
595
.collect::<Vec<_>>();
596
+ let use_extra_filename = use_extra_filename(bcx, unit);
597
598
let mut hasher = StableHasher::new();
599
@@ -685,9 +686,11 @@ fn compute_metadata(
685
686
dep_hashes.sort();
687
dep_hashes.hash(&mut hasher);
688
689
+ let meta_hash = UnitHash(hasher.finish());
690
+
691
Metadata {
- meta_hash: UnitHash(hasher.finish()),
- use_extra_filename: use_extra_filename(bcx, unit),
692
+ meta_hash,
693
+ use_extra_filename,
694
}
695
696
0 commit comments