-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Description
Describe the problem you are trying to solve
The software needs to be recompiled several times to test with every set of features to be tested with.
Moreover, there is no automated way to make cargo to test a package with several different sets of features.
Describe the solution you'd like
Please add to target section of Cargo.toml
new key exact-features
that will cause this target to be compiled with this exact set of features, independently of what features are specified in the command line:
exact-features = ["use_assembler", "no_api_v2"]
This would allow to use such a target together with test = true
to test it fully automatically.
Notes
Also, the suggested feature is useful for software requiring especially good reliability to complicate user to change features (but the reason I suggest it is for testing).