docs(rustc): De-emphasize --cfg/--check-cfg note
At the suggestion of @Urgau
This commit is contained in:
parent
9232bd2e83
commit
e171e648ea
1 changed files with 3 additions and 3 deletions
|
|
@ -11,9 +11,6 @@ development process.
|
|||
In order to accomplish that goal, `rustc` accepts the `--check-cfg` flag, which specifies
|
||||
whether to check conditions and how to check them.
|
||||
|
||||
> **Note:** No implicit expectation is added when using `--cfg`. Users are expected to
|
||||
pass all expected names and values using the _check cfg specification_.
|
||||
|
||||
> **Note:** For interacting with this through Cargo,
|
||||
see [Cargo Specifics](check-cfg/cargo-specifics.md) page.
|
||||
|
||||
|
|
@ -26,6 +23,9 @@ breaking change.
|
|||
To specify expected names and values, the _check cfg specification_ provides the `cfg(...)`
|
||||
option which enables specifying for an expected config name and it's expected values.
|
||||
|
||||
> **Note:** No implicit expectation is added when using `--cfg`. Users are expected to
|
||||
pass all expected names and values using the _check cfg specification_.
|
||||
|
||||
It has this basic form:
|
||||
|
||||
```bash
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue