|
1 | 1 | '\" t |
2 | 2 | .\" Title: cargo-build |
3 | 3 | .\" Author: [see the "AUTHOR(S)" section] |
4 | | -.\" Generator: Asciidoctor 2.0.8 |
5 | | -.\" Date: 2019-06-07 |
| 4 | +.\" Generator: Asciidoctor 2.0.10 |
| 5 | +.\" Date: 2019-08-19 |
6 | 6 | .\" Manual: \ \& |
7 | 7 | .\" Source: \ \& |
8 | 8 | .\" Language: English |
9 | 9 | .\" |
10 | | -.TH "CARGO\-BUILD" "1" "2019-06-07" "\ \&" "\ \&" |
| 10 | +.TH "CARGO\-BUILD" "1" "2019-08-19" "\ \&" "\ \&" |
11 | 11 | .ie \n(.g .ds Aq \(aq |
12 | 12 | .el .ds Aq ' |
13 | 13 | .ss \n[.ss] 0 |
@@ -39,11 +39,15 @@ Compile local packages and all of their dependencies. |
39 | 39 | .SS "Package Selection" |
40 | 40 | .sp |
41 | 41 | By default, when no package selection options are given, the packages selected |
42 | | -depend on the current working directory. In the root of a virtual workspace, |
43 | | -all workspace members are selected (\fB\-\-all\fP is implied). Otherwise, only the |
44 | | -package in the current directory will be selected. The default packages may be |
45 | | -overridden with the \fBworkspace.default\-members\fP key in the root \fBCargo.toml\fP |
46 | | -manifest. |
| 42 | +depend on the selected manifest file (based on the current working directory if |
| 43 | +\fB\-\-manifest\-path\fP is not given). If the manifest is the root of a workspace then |
| 44 | +the workspaces default members are selected, otherwise only the package defined |
| 45 | +by the manifest will be selected. |
| 46 | +.sp |
| 47 | +The default members of a workspace can be set explicitly with the |
| 48 | +\fBworkspace.default\-members\fP key in the root manifest. If this is not set, a |
| 49 | +virtual workspace will include all workspace members (equivalent to passing |
| 50 | +\fB\-\-all\fP), and a non\-virtual workspace will include only the root crate itself. |
47 | 51 | .sp |
48 | 52 | \fB\-p\fP \fISPEC\fP..., \fB\-\-package\fP \fISPEC\fP... |
49 | 53 | .RS 4 |
|
0 commit comments