docs(rustc): Help users to check-cfg Cargo docs

This commit is contained in:
Ed Page 2024-06-12 15:20:58 -05:00
parent b5b13568fb
commit 6d93626351

View File

@ -14,6 +14,9 @@ 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.
[^reachable]: `rustc` promises to at least check reachable `#[cfg]`, and while non-reachable
`#[cfg]` are not currently checked, they may well be checked in the future without it being a
breaking change.