about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorJakub Beránek <berykubik@gmail.com>2025-07-03 18:04:10 +0200
committerJakub Beránek <berykubik@gmail.com>2025-07-06 17:25:19 +0200
commit40176388d2c79d4ae268f683b9503b39deb565aa (patch)
treea2cea41b15076a1e04db83ff80aba1dc2899f0b6 /src
parent38b09dd83853b6c9e3bf4c4134448c5c631105d2 (diff)
downloadrust-40176388d2c79d4ae268f683b9503b39deb565aa.tar.gz
rust-40176388d2c79d4ae268f683b9503b39deb565aa.zip
Add staging comment to `check::Rustc`
Diffstat (limited to 'src')
-rw-r--r--src/bootstrap/src/core/build_steps/check.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bootstrap/src/core/build_steps/check.rs b/src/bootstrap/src/core/build_steps/check.rs
index 9f12059d4ee..28644ecc340 100644
--- a/src/bootstrap/src/core/build_steps/check.rs
+++ b/src/bootstrap/src/core/build_steps/check.rs
@@ -187,6 +187,8 @@ impl Step for Rustc {
     /// This will check the compiler for a particular stage of the build using
     /// the `compiler` targeting the `target` architecture. The artifacts
     /// created will also be linked into the sysroot directory.
+    ///
+    /// If we check a stage 2 compiler, we will have to first build a stage 1 compiler to check it.
     fn run(self, builder: &Builder<'_>) {
         let build_compiler = self.build_compiler;
         let target = self.target;