Skip to content

Commit

Permalink
Auto merge of rust-lang#14657 - ehuss:deprecate-build-plan, r=epage
Browse files Browse the repository at this point in the history
Document build-plan as being deprecated

This adds a note to the build-plan documentation that it is deprecated. I do not think it will make any progress as it is. In the future, we should remove the feature (rust-lang#7902), possibly with a code-warning ahead of time.
  • Loading branch information
bors committed Oct 8, 2024
2 parents 9026f95 + bc2eba1 commit 42a774b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/doc/src/reference/unstable.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,13 @@ cargo test --target foo -Zdoctest-xcompile
## Build-plan
* Tracking Issue: [#5579](https://github.com/rust-lang/cargo/issues/5579)

<div class="warning">

> The build-plan feature is deprecated and may be removed in a future version.
> See <https://github.com/rust-lang/cargo/issues/7614>.
</div>

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.
Expand Down

0 comments on commit 42a774b

Please sign in to comment.