Skip to content

Commit a5df236

Browse files
committed
add caching info on bootstrap command
1 parent 5735674 commit a5df236

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/bootstrap/src/utils/exec.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ pub struct CommandCacheKey {
7171
///
7272
/// Bootstrap will print a debug log to stdout if the command fails and failure is not allowed.
7373
///
74+
/// By default, command executions are cached based on their workdir, program, arguments, and environment variables.
75+
/// This avoids re-running identical commands unnecessarily, unless caching is explicitly disabled.
76+
///
7477
/// [allow_failure]: BootstrapCommand::allow_failure
7578
/// [delay_failure]: BootstrapCommand::delay_failure
7679
pub struct BootstrapCommand {

0 commit comments

Comments
 (0)