Skip to content

Commit 2bfcb2f

Browse files
committed
Fix reference docs for "incremental" in the wrong place.
It is part of the [build] section, not a [target].
1 parent 2659f40 commit 2bfcb2f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/doc/src/reference/config.md

Lines changed: 1 addition & 2 deletions
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)