Mark cargo:rustc-check-cfg as a subsection of check-cfg

This commit is contained in:
Eric Huss 2023-03-02 11:03:04 -08:00
parent 97d4d38882
commit a518301657

View file

@ -1224,7 +1224,7 @@ println!("cargo:rustc-check-cfg=names(foo, bar)");
cargo check -Z unstable-options -Z check-cfg=output
```
### `cargo:rustc-check-cfg=CHECK_CFG`
#### `cargo:rustc-check-cfg=CHECK_CFG`
The `rustc-check-cfg` instruction tells Cargo to pass the given value to the
`--check-cfg` flag to the compiler. This may be used for compile-time