aboutsummaryrefslogtreecommitdiff
path: root/release/src/cargo.rs
diff options
context:
space:
mode:
Diffstat (limited to 'release/src/cargo.rs')
-rw-r--r--release/src/cargo.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/release/src/cargo.rs b/release/src/cargo.rs
index 0b28458e9..826a3a8b2 100644
--- a/release/src/cargo.rs
+++ b/release/src/cargo.rs
@@ -149,6 +149,15 @@ impl CargoArgsBuilder {
149 } 149 }
150 150
151 #[must_use] 151 #[must_use]
152 pub fn artifact_dir<S>(mut self, artifact_dir: S) -> Self
153 where
154 S: Into<String>,
155 {
156 self.args.push(format!("--artifact-dir={}", artifact_dir.into()));
157 self
158 }
159
160 #[must_use]
152 pub fn arg<S>(mut self, arg: S) -> Self 161 pub fn arg<S>(mut self, arg: S) -> Self
153 where 162 where
154 S: Into<String>, 163 S: Into<String>,