You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is hard (maybe impossible) to compile certain combinations of cfg flags.
E.g.: I believe the following should always compile, for any choice of a and b cfg switches:
FWIW, not is the only predicate handled by cfg, and it cannot even be nested, i.e. #[cfg(not(not(a)))] is testing that the flag not(a) doesn't exist, not that a does exist.
It is hard (maybe impossible) to compile certain combinations of cfg flags.
E.g.: I believe the following should always compile, for any choice of
a
andb
cfg switches:But currently you get:
I believe this is because our current
cfg
implementation is largely just a hack, rather than a proper expression evaluator. See also #2119.The text was updated successfully, but these errors were encountered: