/// Adds the compiler's bootstrap key to the environment of `cmd`.
Adds the compiler's bootstrap key to the environment of `cmd`.
Adds the compiler ' s bootstrap key to the environment of ` cmd ` .
fn add_bootstrap_key(&self, compiler: &Compiler, cmd: &mut Command) {
        // In stage0 we're using a previously released stable compiler, so we
        // use the stage0 bootstrap key. Otherwise we use our own build's
        // bootstrap key.
        let bootstrap_key = if compiler.is_snapshot(self) && !self.local_rebuild {
            &self.bootstrap_key_stage0
        } else {
            &self.bootstrap_key
        };
        cmd.env("RUSTC_BOOTSTRAP_KEY", bootstrap_key);
    }
fn add_bootstrap_key ( & self , compiler : & Compiler , cmd : & mut Command ) { // In stage0 we're using a previously released stable compiler, so we // use the stage0 bootstrap key. Otherwise we use our own build's // bootstrap key. let bootstrap_key = if compiler . is_snapshot ( self ) && ! self . local_rebuild { & self . bootstrap_key_stage0 } else { & self . bootstrap_key } ; cmd . env ( " " , bootstrap_key ) ; }
Adds the compiler's bootstrap key to the environment of `cmd`.
Adds the compiler ' s bootstrap key to the environment of ` cmd ` .
&self
compiler
&Compiler
cmd
&mut Command