Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correctly process the concretize attribute within cfg_attr
The concretize attribute isn't processed as a normal Rust attribute. Instead, Mockall processes it as text. So we need to process any cfg_attr directive ourselves. Rather than attempt to evaluate the conditional, just assume that it's true. By far the most common use case will be `cfg_attr(test, concretize)`. Fixes #427
- Loading branch information