Skip to content

Commit ae796ad

Browse files
committed
Auto merge of #5127 - ehuss:incremental-doc, r=alexcrichton
Fix reference docs for "incremental" in the wrong place. It is part of the [build] section, not a [target].
2 parents e514f98 + 2bfcb2f commit ae796ad

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/doc/src/reference/config.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,6 @@ runner = ".."
7676
# custom flags to pass to all compiler invocations that target $triple
7777
# this value overrides build.rustflags when both are present
7878
rustflags = ["..", ".."]
79-
# Whether or not to enable incremental compilation
80-
incremental = true
8179

8280
[target.'cfg(...)']
8381
# Similar for the $triple configuration, but using the `cfg` syntax.
@@ -105,6 +103,7 @@ rustdoc = "rustdoc" # the doc generator tool
105103
target = "triple" # build for the target triple
106104
target-dir = "target" # path of where to place all generated artifacts
107105
rustflags = ["..", ".."] # custom flags to pass to all compiler invocations
106+
incremental = true # whether or not to enable incremental compilation
108107

109108
[term]
110109
verbose = false # whether cargo provides verbose output

0 commit comments

Comments
 (0)