We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46880f4 commit 8e10ea6Copy full SHA for 8e10ea6
src/doc/rustc/src/command-line-arguments.md
@@ -10,6 +10,11 @@ This flag will print out help information for `rustc`.
10
11
This flag can turn on or off various `#[cfg]` settings.
12
13
+The value can either be a single identifier or two identifiers separated by `=`.
14
+
15
+For examples, `--cfg 'verbose'` or `--cfg 'feature=serde'`. These correspond
16
+to `#[cfg(verbose)]` and `#[cfg(feature = "serde")]` respectively.
17
18
## `-L`: add a directory to the library search path
19
20
When looking for external crates, a directory passed to this flag will be searched.
0 commit comments