File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,6 @@ development process.
1111In order to accomplish that goal, ` rustc ` accepts the ` --check-cfg ` flag, which specifies
1212whether to check conditions and how to check them.
1313
14- > ** Note:** No implicit expectation is added when using ` --cfg ` . Users are expected to
15- pass all expected names and values using the _ check cfg specification_ .
16-
1714> ** Note:** For interacting with this through Cargo,
1815 see [ Cargo Specifics] ( check-cfg/cargo-specifics.md ) page.
1916
@@ -36,6 +33,9 @@ where `name` is a bare identifier (has no quotes) and each `"value"` term is a q
3633string. ` name ` specifies the name of the condition, such as ` feature ` or ` my_cfg ` .
3734` "value" ` specify one of the value of that condition name.
3835
36+ > ** Note:** No implicit expectation is added when using ` --cfg ` . Users are expected to
37+ pass all expected names and values using the _ check cfg specification_ .
38+
3939When the ` cfg(...) ` option is specified, ` rustc ` will check every[ ^ reachable ] :
4040 - ` #[cfg(name = "value")] ` attribute
4141 - ` #[cfg_attr(name = "value")] ` attribute
You can’t perform that action at this time.
0 commit comments