]> git.proxmox.com Git - cargo.git/commitdiff
Fix reference docs for "incremental" in the wrong place.
authorEric Huss <eric@huss.org>
Tue, 6 Mar 2018 03:10:08 +0000 (19:10 -0800)
committerEric Huss <eric@huss.org>
Tue, 6 Mar 2018 03:10:08 +0000 (19:10 -0800)
It is part of the [build] section, not a [target].

src/doc/src/reference/config.md

index c590f5d4f4352c405bec69b90ec076e04bc3e6ce..b19c8923cf95a282c4c137d4b6af730c9d77064b 100644 (file)
@@ -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.
@@ -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