Skip to content

Commit

Permalink
Mark cargo:rustc-check-cfg as a subsection of check-cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Mar 2, 2023
1 parent 97d4d38 commit a518301
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/src/reference/unstable.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a518301

Please sign in to comment.