about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJakub Beránek <jakub.beranek@vsb.cz>2024-08-09 12:17:01 +0200
committerJakub Beránek <jakub.beranek@vsb.cz>2024-08-09 12:17:01 +0200
commitf72cb0415bdb6fe3699fb44f9b41da1d34c74189 (patch)
treea3026d4416a9f777bc3780ee73805dfb4f6c77d4
parent97e72524a34994541810438258115802f8b85543 (diff)
downloadrust-f72cb0415bdb6fe3699fb44f9b41da1d34c74189.tar.gz
rust-f72cb0415bdb6fe3699fb44f9b41da1d34c74189.zip
Make `Build::run` comment more accurate
-rw-r--r--src/bootstrap/src/lib.rs3
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,