Skip to content

Commit df5cb70

Browse files
committed
A few final minor fixes for bcx reorg.
1 parent e06a911 commit df5cb70

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

src/cargo/core/compiler/fingerprint.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1209,7 +1209,7 @@ fn calculate_normal(cx: &mut Context<'_, '_>, unit: &Unit) -> CargoResult<Finger
12091209
let target_root = target_root(cx);
12101210
let local = if unit.mode.is_doc() {
12111211
// rustdoc does not have dep-info files.
1212-
let fingerprint = pkg_fingerprint(cx.bcx, unit.pkg)?;
1212+
let fingerprint = pkg_fingerprint(cx.bcx, &unit.pkg)?;
12131213
vec![LocalFingerprint::Precalculated(fingerprint)]
12141214
} else {
12151215
let dep_info = dep_info_loc(cx, unit);

src/cargo/core/manifest.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -473,10 +473,6 @@ impl Manifest {
473473
pub fn targets(&self) -> &[Target] {
474474
&self.targets
475475
}
476-
pub fn targets_mut(&mut self) -> &mut [Target] {
477-
// TOOD: Remove
478-
&mut self.targets
479-
}
480476
pub fn version(&self) -> &Version {
481477
self.package_id().version()
482478
}

0 commit comments

Comments
 (0)