@@ -25,7 +25,7 @@ use super::layout::Layout;
25
25
use super :: links:: Links ;
26
26
use super :: { Kind , Compilation , BuildConfig } ;
27
27
28
- #[ derive( Clone , Copy , Debug , Eq , PartialEq , Hash ) ]
28
+ #[ derive( Clone , Copy , Eq , PartialEq , Hash ) ]
29
29
pub struct Unit < ' a > {
30
30
pub pkg : & ' a Package ,
31
31
pub target : & ' a Target ,
@@ -485,7 +485,6 @@ impl<'a, 'cfg> Context<'a, 'cfg> {
485
485
486
486
// Mix in the target-metadata of all the dependencies of this target
487
487
if let Ok ( deps) = self . used_deps ( unit) {
488
- debug ! ( "Mixing in units {:?} to {:?}:{:?}" , deps. len( ) , unit. target. name( ) , unit. target. kind( ) ) ;
489
488
let mut deps_metadata = deps. into_iter ( ) . map ( |dep_unit| {
490
489
self . target_metadata ( & dep_unit)
491
490
} ) . collect :: < Vec < _ > > ( ) ;
@@ -518,9 +517,7 @@ impl<'a, 'cfg> Context<'a, 'cfg> {
518
517
channel. hash ( & mut hasher) ;
519
518
}
520
519
521
- let x = Metadata ( hasher. finish ( ) ) ;
522
- debug ! ( "Produced hash {} for {:?}:{:?}" , x, unit. target. name( ) , unit. target. kind( ) ) ;
523
- Some ( x)
520
+ Some ( Metadata ( hasher. finish ( ) ) )
524
521
}
525
522
526
523
/// Returns the file stem for a given target/profile combo (with metadata)
0 commit comments