We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
true
false
1 parent 4defc8d commit f01355cCopy full SHA for f01355c
text/3695-cfg_boolean_literal.md
@@ -44,6 +44,11 @@ should be added to the explanation of the predicates.
44
45
`cfg(r#true)` and `cfg(r#false)` should continue to work as they did previously (i.e. enabled when `--cfg true`/`--cfg false` are passed).
46
47
+`true` and `false` should be expected everywhere Configuration Predicates are used, i.e.
48
+- the `#[cfg(..)]` attribute
49
+- the `cfg!(..)` macro
50
+- the `#[cfg_attr(.., ..)]` attribute
51
+
52
# Drawbacks
53
[drawbacks]: #drawbacks
54
0 commit comments