Skip to content

Commit 123d5c3

Browse files
committed
Wire Fingerprint to target unit's edition
1 parent 76001af commit 123d5c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/core/compiler/fingerprint.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ fn calculate<'a, 'cfg>(
481481
deps,
482482
local: vec![local],
483483
memoized_hash: Mutex::new(None),
484-
edition: unit.pkg.manifest().edition(),
484+
edition: unit.target.edition(),
485485
rustflags: extra_flags,
486486
});
487487
cx.fingerprints.insert(*unit, Arc::clone(&fingerprint));

0 commit comments

Comments
 (0)