diff options
| author | Jakub Beránek <jakub.beranek@vsb.cz> | 2024-08-09 12:17:01 +0200 |
|---|---|---|
| committer | Jakub Beránek <jakub.beranek@vsb.cz> | 2024-08-09 12:17:01 +0200 |
| commit | f72cb0415bdb6fe3699fb44f9b41da1d34c74189 (patch) | |
| tree | a3026d4416a9f777bc3780ee73805dfb4f6c77d4 | |
| parent | 97e72524a34994541810438258115802f8b85543 (diff) | |
| download | rust-f72cb0415bdb6fe3699fb44f9b41da1d34c74189.tar.gz rust-f72cb0415bdb6fe3699fb44f9b41da1d34c74189.zip | |
Make `Build::run` comment more accurate
| -rw-r--r-- | src/bootstrap/src/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bootstrap/src/lib.rs b/src/bootstrap/src/lib.rs index 453fb39327d..d3aff8f89a0 100644 --- a/src/bootstrap/src/lib.rs +++ b/src/bootstrap/src/lib.rs @@ -986,7 +986,8 @@ impl Build { } /// Execute a command and return its output. - /// This method should be used for all command executions in bootstrap. + /// Note: Ideally, you should use one of the BootstrapCommand::run* functions to + /// execute commands. They internally call this method. #[track_caller] fn run( &self, |
