@@ -22,7 +22,6 @@ extern crate cmake;
2222extern crate filetime;
2323extern crate gcc;
2424extern crate getopts;
25- extern crate md5;
2625extern crate num_cpus;
2726extern crate rustc_serialize;
2827extern crate toml;
@@ -120,8 +119,6 @@ pub struct Build {
120119 version : String ,
121120 package_vers : String ,
122121 local_rebuild : bool ,
123- bootstrap_key : String ,
124- bootstrap_key_stage0 : String ,
125122
126123 // Probed tools at runtime
127124 lldb_version : Option < String > ,
@@ -205,8 +202,6 @@ impl Build {
205202 ver_date : None ,
206203 version : String :: new ( ) ,
207204 local_rebuild : local_rebuild,
208- bootstrap_key : String :: new ( ) ,
209- bootstrap_key_stage0 : String :: new ( ) ,
210205 package_vers : String :: new ( ) ,
211206 cc : HashMap :: new ( ) ,
212207 cxx : HashMap :: new ( ) ,
@@ -438,7 +433,8 @@ impl Build {
438433 . env ( "RUSTDOC_REAL" , self . rustdoc ( compiler) )
439434 . env ( "RUSTC_FLAGS" , self . rustc_flags ( target) . join ( " " ) ) ;
440435
441- self . add_bootstrap_key ( & mut cargo) ;
436+ // Enable usage of unstable features
437+ cargo. env ( "RUSTC_BOOTSTRAP" , "1" ) ;
442438
443439 // Specify some various options for build scripts used throughout
444440 // the build.
@@ -655,14 +651,6 @@ impl Build {
655651 add_lib_path ( vec ! [ self . rustc_libdir( compiler) ] , cmd) ;
656652 }
657653
658- /// Adds the compiler's bootstrap key to the environment of `cmd`.
659- fn add_bootstrap_key ( & self , cmd : & mut Command ) {
660- cmd. env ( "RUSTC_BOOTSTRAP" , "1" ) ;
661- // FIXME: Transitionary measure to bootstrap using the old bootstrap logic.
662- // Remove this once the bootstrap compiler uses the new login in Issue #36548.
663- cmd. env ( "RUSTC_BOOTSTRAP_KEY" , "62b3e239" ) ;
664- }
665-
666654 /// Returns the compiler's libdir where it stores the dynamic libraries that
667655 /// it itself links against.
668656 ///
0 commit comments