Skip to content

Commit 84b9169

Browse files
committed
Add note about single column rustc-check-cfg
1 parent 85a4d70 commit 84b9169

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/doc/src/reference/build-scripts.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,8 @@ the _reachable_ cfg expressions.
264264
For details on the syntax of `CHECK_CFG`, see `rustc` [`--check-cfg` flag][option-check-cfg].
265265
See also the [`unexpected_cfgs`][unexpected-cfgs] lint.
266266

267+
> Note: `cargo:rustc-check-cfg` (single-colon) can be used if your MSRV is below Rust 1.77
268+
267269
The instruction can be used like this:
268270

269271
```rust,no_run

0 commit comments

Comments
 (0)