Skip to content

Commit 23ce619

Browse files
authored
Merge pull request #1636 from tgross35/rustc-print-cfg
Mention `--print cfg` under set configuration options
2 parents b316723 + e7f58b4 commit 23ce619

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/conditional-compilation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ It is not possible to set a
8383
configuration option from within the source code of the crate being compiled.
8484

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

0 commit comments

Comments
 (0)