From a46b541f7806d434a70670f60e9697388fe20eb6 Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Sun, 27 May 2018 15:59:29 -0700 Subject: [PATCH] Document unstable --build-plan --- src/doc/src/reference/unstable.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/doc/src/reference/unstable.md b/src/doc/src/reference/unstable.md index 6d206b78e..91a85c99b 100644 --- a/src/doc/src/reference/unstable.md +++ b/src/doc/src/reference/unstable.md @@ -254,3 +254,16 @@ for each optional dependency, implicit features get created for any optional dependencies where a feature of the same name is not defined. However, if a feature of the same name as a dependency is defined, that feature must include the dependency as a requirement, as `foo = ["crate:foo"]`. + + +### Build-plan +* Tracking Issue: [rust-lang/cargo#5579](https://github.com/rust-lang/cargo/issues/5579) + +The `--build-plan` argument for the `build` command will output JSON with +information about which commands would be run without actually executing +anything. This can be useful when integrating with another build tool. +Example: + +``` +cargo +nightly build --build-plan -Z unstable-options +``` -- 2.30.2