mirror of https://github.com/rust-lang/cargo
Make last two .exec_with_output() usages set Execs to ran
This commit is contained in:
parent
a173fc0abe
commit
f16b95e492
|
@ -708,7 +708,8 @@ impl Execs {
|
|||
self
|
||||
}
|
||||
|
||||
pub fn exec_with_output(&self) -> CargoResult<Output> {
|
||||
pub fn exec_with_output(&mut self) -> CargoResult<Output> {
|
||||
self.ran = true;
|
||||
// TODO avoid unwrap
|
||||
let p = (&self.process_builder).clone().unwrap();
|
||||
p.exec_with_output()
|
||||
|
|
Loading…
Reference in New Issue