mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
Add note about single column rustc-check-cfg
This commit is contained in:
parent
85a4d7041f
commit
84b9169cae
@ -264,6 +264,8 @@ the _reachable_ cfg expressions.
|
||||
For details on the syntax of `CHECK_CFG`, see `rustc` [`--check-cfg` flag][option-check-cfg].
|
||||
See also the [`unexpected_cfgs`][unexpected-cfgs] lint.
|
||||
|
||||
> Note: `cargo:rustc-check-cfg` (single-colon) can be used if your MSRV is below Rust 1.77
|
||||
|
||||
The instruction can be used like this:
|
||||
|
||||
```rust,no_run
|
||||
|
Loading…
x
Reference in New Issue
Block a user