File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ pub struct Config {
67
67
pub target : Vec < String > ,
68
68
pub rustc : Option < String > ,
69
69
pub cargo : Option < String > ,
70
- pub rebuild : bool ,
70
+ pub local_rebuild : bool ,
71
71
72
72
// libstd features
73
73
pub debug_jemalloc : bool ,
@@ -316,7 +316,7 @@ impl Config {
316
316
( "RPATH" , self . rust_rpath) ,
317
317
( "OPTIMIZE_TESTS" , self . rust_optimize_tests) ,
318
318
( "DEBUGINFO_TESTS" , self . rust_debuginfo_tests) ,
319
- ( "LOCAL_REBUILD" , self . rebuild ) ,
319
+ ( "LOCAL_REBUILD" , self . local_rebuild ) ,
320
320
}
321
321
322
322
match key {
Original file line number Diff line number Diff line change @@ -511,7 +511,7 @@ impl Build {
511
511
. arg ( "--target" ) . arg ( target) ;
512
512
513
513
let stage;
514
- if compiler. stage == 0 && self . config . rebuild {
514
+ if compiler. stage == 0 && self . config . local_rebuild {
515
515
// Assume the local-rebuild rustc already has stage1 features.
516
516
stage = 1 ;
517
517
} else {
@@ -752,7 +752,7 @@ impl Build {
752
752
// In stage0 we're using a previously released stable compiler, so we
753
753
// use the stage0 bootstrap key. Otherwise we use our own build's
754
754
// bootstrap key.
755
- let bootstrap_key = if compiler. is_snapshot ( self ) && !self . config . rebuild {
755
+ let bootstrap_key = if compiler. is_snapshot ( self ) && !self . config . local_rebuild {
756
756
& self . bootstrap_key_stage0
757
757
} else {
758
758
& self . bootstrap_key
You can’t perform that action at this time.
0 commit comments