We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bee9c89 commit b4ff787Copy full SHA for b4ff787
src/cargo/core/profiles.rs
@@ -660,7 +660,7 @@ impl Profile {
660
/// Compares all fields except `name`, which doesn't affect compilation.
661
/// This is necessary for `Unit` deduplication for things like "test" and
662
/// "dev" which are essentially the same.
663
- fn comparable(&self) -> impl Hash + Eq {
+ fn comparable(&self) -> impl Hash + Eq + '_ {
664
(
665
self.opt_level,
666
self.lto,
@@ -673,7 +673,8 @@ impl Profile {
673
self.rpath,
674
self.incremental,
675
self.panic,
676
- self.strip,
+ //"This trait is implemented for tuples up to twelve items long." - https://doc.rust-lang.org/std/cmp/trait.Eq.html#impl-Eq-203
677
+ (self.strip, &self.rustflags),
678
)
679
}
680
0 commit comments