Fix building mithril-common with some features and targets combinatory #1463
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Content
This PR fix the building of mithril-common for all it's matrix of features and targets.
Some examples that raise errors right now:
test_tools
features fails because it's need theColdKeyGenerator
that's behind therandom
feature.--all-targets
directive fails horribly (30 errors) because the tests use a lot of tools that are behind thetest_tools
feature.fs
andrandom
features would fails since theFakeObserver
is behind thetest_tools
feature that is disabled.Pre-submit checklist
Comments
In order to check more easily if a feature combinatory is failing a new target has been added to the mithril-common makefiles that compute all features combinatory (the "powerset" of features) and run a cargo clippy on them.