mirror of
https://github.com/rust-lang/cargo
synced 2024-10-30 03:28:38 +00:00
Mark cargo:rustc-check-cfg
as a subsection of check-cfg
This commit is contained in:
parent
97d4d38882
commit
a518301657
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue