Skip to content

Commit

Permalink
Auto merge of #5127 - ehuss:incremental-doc, r=alexcrichton
Browse files Browse the repository at this point in the history
Fix reference docs for "incremental" in the wrong place.

It is part of the [build] section, not a [target].
  • Loading branch information
bors committed Mar 6, 2018
2 parents e514f98 + 2bfcb2f commit ae796ad
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/doc/src/reference/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,6 @@ runner = ".."
# custom flags to pass to all compiler invocations that target $triple
# this value overrides build.rustflags when both are present
rustflags = ["..", ".."]
# Whether or not to enable incremental compilation
incremental = true

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

[term]
verbose = false # whether cargo provides verbose output
Expand Down

0 comments on commit ae796ad

Please sign in to comment.