Skip to content

Commit

Permalink
Merge pull request #1636 from tgross35/rustc-print-cfg
Browse files Browse the repository at this point in the history
Mention `--print cfg` under set configuration options
  • Loading branch information
traviscross authored Oct 22, 2024
2 parents b316723 + e7f58b4 commit 23ce619
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/conditional-compilation.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ It is not possible to set a
configuration option from within the source code of the crate being compiled.

> **Note**: For `rustc`, arbitrary-set configuration options are set using the
> [`--cfg`] flag.
> [`--cfg`] flag. Configuration values for a specified target can be displayed with `rustc --print cfg --target $TARGET`.
> **Note**: Configuration options with the key `feature` are a convention used
> by [Cargo][cargo-feature] for specifying compile-time options and optional
Expand Down

0 comments on commit 23ce619

Please sign in to comment.