Closed audunhalland closed 7 months ago
Thanks for the report. I agree that any feature that enables a
should be treated as being mutually exclusive with c
when a,c
is passed.
Fixed in 0.6.25.
Amazingly quick fix :) Thank you. It seems to work very well. My configuration count went down from 68 to 18.
cargo hack --feature-powerset --mutually-exclusive-features a,c test
Should this test
b
andc
in combination? I'm not sure, but initial feeling is that it could be a bug, sinceb
impliesa
. Mycargo hack
tests generates too many useless combinations because of this.Also this example is probably over-simplified compared to my actual setup, but I wanted to get clarity on the intended behaviour first.
Feel free to close this if it's a feature rather than a bug.