mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
docs(rustc): Help users to check-cfg Cargo docs
This commit is contained in:
parent
b5b13568fb
commit
6d93626351
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user