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 600d9bf commit 412734dCopy full SHA for 412734d
src/bootstrap/src/core/build_steps/tool.rs
@@ -1581,6 +1581,10 @@ impl Builder<'_> {
1581
/// `host`.
1582
pub fn tool_cmd(&self, tool: Tool) -> BootstrapCommand {
1583
let mut cmd = command(self.tool_exe(tool));
1584
+
1585
+ // Do not cache tool invocations, as they can have side effects
1586
+ cmd.do_not_cache();
1587
1588
let compiler = self.compiler(0, self.config.host_target);
1589
let host = &compiler.host;
1590
// Prepares the `cmd` provided to be able to run the `compiler` provided.
0 commit comments