File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,18 @@ pub enum OutputMode {
24
24
}
25
25
26
26
/// Wrapper around `std::process::Command`.
27
+ ///
28
+ /// By default, the command will exit bootstrap if it fails.
29
+ /// If you want to allow failures, use [allow_failure].
30
+ /// If you want to delay failures until the end of bootstrap, use [delay_failure].
31
+ ///
32
+ /// By default, the command will print its stdout/stderr to stdout/stderr of bootstrap
33
+ /// ([OutputMode::OnlyOutput]). If bootstrap uses verbose mode, then it will also print the
34
+ /// command itself in case of failure ([OutputMode::All]).
35
+ /// If you want to handle the output programmatically, use `output_mode(OutputMode::OnlyOnFailure)`.
36
+ ///
37
+ /// [allow_failure]: BootstrapCommand::allow_failure
38
+ /// [delay_failure]: BootstrapCommand::delay_failure
27
39
#[ derive( Debug ) ]
28
40
pub struct BootstrapCommand < ' a > {
29
41
pub command : & ' a mut Command ,
You can’t perform that action at this time.
0 commit comments