From: Eric Huss Date: Tue, 6 Mar 2018 03:10:08 +0000 (-0800) Subject: Fix reference docs for "incremental" in the wrong place. X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=2bfcb2f9267702f6cec72c2ec2574ac3f481f9fd;p=cargo.git Fix reference docs for "incremental" in the wrong place. It is part of the [build] section, not a [target]. --- diff --git a/src/doc/src/reference/config.md b/src/doc/src/reference/config.md index c590f5d4f..b19c8923c 100644 --- a/src/doc/src/reference/config.md +++ b/src/doc/src/reference/config.md @@ -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