@@ -835,13 +835,13 @@ impl Rustc {
835835}
836836
837837impl Step for Rustc {
838- // We return the stage of the "actual" compiler (not the uplifted one).
839- //
840- // By "actual" we refer to the uplifting logic where we may not compile the requested stage;
841- // instead, we uplift it from the previous stages. Which can lead to bootstrap failures in
842- // specific situations where we request stage X from other steps. However we may end up
843- // uplifting it from stage Y, causing the other stage to fail when attempting to link with
844- // stage X which was never actually built.
838+ /// We return the stage of the "actual" compiler (not the uplifted one).
839+ ///
840+ /// By "actual" we refer to the uplifting logic where we may not compile the requested stage;
841+ /// instead, we uplift it from the previous stages. Which can lead to bootstrap failures in
842+ /// specific situations where we request stage X from other steps. However we may end up
843+ /// uplifting it from stage Y, causing the other stage to fail when attempting to link with
844+ /// stage X which was never actually built.
845845 type Output = u32 ;
846846 const ONLY_HOSTS : bool = true ;
847847 const DEFAULT : bool = false ;
@@ -1302,7 +1302,7 @@ fn is_codegen_cfg_needed(path: &TaskPath, run: &RunConfig<'_>) -> bool {
13021302impl Step for CodegenBackend {
13031303 type Output = ( ) ;
13041304 const ONLY_HOSTS : bool = true ;
1305- // Only the backends specified in the `codegen-backends` entry of `config.toml` are built.
1305+ /// Only the backends specified in the `codegen-backends` entry of `config.toml` are built.
13061306 const DEFAULT : bool = true ;
13071307
13081308 fn should_run ( run : ShouldRun < ' _ > ) -> ShouldRun < ' _ > {
0 commit comments