We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 993fe51 commit 95d232aCopy full SHA for 95d232a
src/bootstrap/src/utils/exec.rs
@@ -101,6 +101,11 @@ impl<'a> BootstrapCommand {
101
self.should_cache
102
}
103
104
+ pub fn cache_never(&mut self) -> &mut Self {
105
+ self.should_cache = false;
106
+ self
107
+ }
108
+
109
pub fn args<I, S>(&mut self, args: I) -> &mut Self
110
where
111
I: IntoIterator<Item = S>,
@@ -201,7 +206,7 @@ impl<'a> BootstrapCommand {
201
206
// We don't know what will happen with the returned command, so we need to mark this
202
207
// command as executed proactively.
203
208
self.mark_as_executed();
204
- self.should_cache = false;
209
+ self.cache_never();
205
210
&mut self.command
211
212
0 commit comments