Skip to content

Commit f72cb04

Browse files
committed
Make Build::run comment more accurate
1 parent 97e7252 commit f72cb04

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: src/bootstrap/src/lib.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -986,7 +986,8 @@ impl Build {
986986
}
987987

988988
/// Execute a command and return its output.
989-
/// This method should be used for all command executions in bootstrap.
989+
/// Note: Ideally, you should use one of the BootstrapCommand::run* functions to
990+
/// execute commands. They internally call this method.
990991
#[track_caller]
991992
fn run(
992993
&self,

0 commit comments

Comments
 (0)