projects
/
cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e18208
)
Add docstrings to CleanOptions
author
Adam Niederer
<AdamNiederer@users.noreply.github.com>
Thu, 22 Mar 2018 02:13:05 +0000
(22:13 -0400)
committer
GitHub
<noreply@github.com>
Thu, 22 Mar 2018 02:13:05 +0000
(22:13 -0400)
src/cargo/ops/cargo_clean.rs
patch
|
blob
|
history
diff --git
a/src/cargo/ops/cargo_clean.rs
b/src/cargo/ops/cargo_clean.rs
index f56e1d58070a582c86fe3dcffd085b8f000f19aa..30f299faf2462349a69b293e0344dd602f708a3c 100644
(file)
--- a/
src/cargo/ops/cargo_clean.rs
+++ b/
src/cargo/ops/cargo_clean.rs
@@
-10,8
+10,11
@@
use ops::{self, BuildConfig, Context, Kind, Unit};
pub struct CleanOptions<'a> {
pub config: &'a Config,
+ /// A list of packages to clean. If empty, everything is cleaned.
pub spec: Vec<String>,
+ /// The target arch triple to clean, or None for the host arch
pub target: Option<String>,
+ /// Whether to clean the release directory
pub release: bool,
}