Skip to content

Commit 5a43a45

Browse files
committed
Add check-cfg blog post in the documentation
1 parent 84b9169 commit 5a43a45

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,8 @@ identifier, the value should be a string.
258258

259259
### `cargo::rustc-check-cfg=CHECK_CFG` {#rustc-check-cfg}
260260

261+
*See the announcement [blog post][check-cfg-blog-post] for more a global view of the feature.*
262+
261263
Add to the list of expected config names and values that is used when checking
262264
the _reachable_ cfg expressions.
263265

@@ -290,6 +292,7 @@ if foo_bar_condition {
290292
}
291293
```
292294

295+
[check-cfg-blog-post]: https://blog.rust-lang.org/2024/05/06/check-cfg.html
293296
[option-check-cfg]: ../../rustc/command-line-arguments.md#option-check-cfg
294297

295298
### `cargo::rustc-env=VAR=VALUE` {#rustc-env}

0 commit comments

Comments
 (0)