@@ -70,7 +70,6 @@ pub struct Docs {
70
70
impl Step for Docs {
71
71
type Output = PathBuf ;
72
72
const DEFAULT : bool = true ;
73
- const ONLY_BUILD_TARGETS : bool = true ;
74
73
75
74
fn should_run ( run : ShouldRun ) -> ShouldRun {
76
75
run. path ( "src/doc" )
@@ -271,7 +270,6 @@ pub struct Mingw {
271
270
impl Step for Mingw {
272
271
type Output = Option < PathBuf > ;
273
272
const DEFAULT : bool = true ;
274
- const ONLY_BUILD_TARGETS : bool = true ;
275
273
276
274
fn should_run ( run : ShouldRun ) -> ShouldRun {
277
275
run. never ( )
@@ -331,7 +329,6 @@ impl Step for Rustc {
331
329
type Output = PathBuf ;
332
330
const DEFAULT : bool = true ;
333
331
const ONLY_HOSTS : bool = true ;
334
- const ONLY_BUILD_TARGETS : bool = true ;
335
332
336
333
fn should_run ( run : ShouldRun ) -> ShouldRun {
337
334
run. path ( "src/librustc" )
@@ -561,15 +558,14 @@ pub struct Std {
561
558
impl Step for Std {
562
559
type Output = PathBuf ;
563
560
const DEFAULT : bool = true ;
564
- const ONLY_BUILD_TARGETS : bool = true ;
565
561
566
562
fn should_run ( run : ShouldRun ) -> ShouldRun {
567
563
run. path ( "src/libstd" )
568
564
}
569
565
570
566
fn make_run ( run : RunConfig ) {
571
567
run. builder . ensure ( Std {
572
- compiler : run. builder . compiler ( run. builder . top_stage , run. host ) ,
568
+ compiler : run. builder . compiler ( run. builder . top_stage , run. builder . build . build ) ,
573
569
target : run. target ,
574
570
} ) ;
575
571
}
@@ -638,7 +634,6 @@ pub struct Analysis {
638
634
impl Step for Analysis {
639
635
type Output = PathBuf ;
640
636
const DEFAULT : bool = true ;
641
- const ONLY_BUILD_TARGETS : bool = true ;
642
637
643
638
fn should_run ( run : ShouldRun ) -> ShouldRun {
644
639
let builder = run. builder ;
@@ -647,7 +642,7 @@ impl Step for Analysis {
647
642
648
643
fn make_run ( run : RunConfig ) {
649
644
run. builder . ensure ( Analysis {
650
- compiler : run. builder . compiler ( run. builder . top_stage , run. host ) ,
645
+ compiler : run. builder . compiler ( run. builder . top_stage , run. builder . build . build ) ,
651
646
target : run. target ,
652
647
} ) ;
653
648
}
@@ -755,8 +750,6 @@ impl Step for Src {
755
750
type Output = PathBuf ;
756
751
const DEFAULT : bool = true ;
757
752
const ONLY_HOSTS : bool = true ;
758
- const ONLY_BUILD_TARGETS : bool = true ;
759
- const ONLY_BUILD : bool = true ;
760
753
761
754
fn should_run ( run : ShouldRun ) -> ShouldRun {
762
755
run. path ( "src" )
@@ -851,8 +844,6 @@ impl Step for PlainSourceTarball {
851
844
type Output = PathBuf ;
852
845
const DEFAULT : bool = true ;
853
846
const ONLY_HOSTS : bool = true ;
854
- const ONLY_BUILD_TARGETS : bool = true ;
855
- const ONLY_BUILD : bool = true ;
856
847
857
848
fn should_run ( run : ShouldRun ) -> ShouldRun {
858
849
let builder = run. builder ;
@@ -1007,7 +998,6 @@ pub struct Cargo {
1007
998
1008
999
impl Step for Cargo {
1009
1000
type Output = PathBuf ;
1010
- const ONLY_BUILD_TARGETS : bool = true ;
1011
1001
const ONLY_HOSTS : bool = true ;
1012
1002
1013
1003
fn should_run ( run : ShouldRun ) -> ShouldRun {
@@ -1095,7 +1085,6 @@ pub struct Rls {
1095
1085
1096
1086
impl Step for Rls {
1097
1087
type Output = Option < PathBuf > ;
1098
- const ONLY_BUILD_TARGETS : bool = true ;
1099
1088
const ONLY_HOSTS : bool = true ;
1100
1089
1101
1090
fn should_run ( run : ShouldRun ) -> ShouldRun {
@@ -1177,7 +1166,6 @@ pub struct Rustfmt {
1177
1166
1178
1167
impl Step for Rustfmt {
1179
1168
type Output = Option < PathBuf > ;
1180
- const ONLY_BUILD_TARGETS : bool = true ;
1181
1169
const ONLY_HOSTS : bool = true ;
1182
1170
1183
1171
fn should_run ( run : ShouldRun ) -> ShouldRun {
@@ -1263,7 +1251,6 @@ pub struct Extended {
1263
1251
impl Step for Extended {
1264
1252
type Output = ( ) ;
1265
1253
const DEFAULT : bool = true ;
1266
- const ONLY_BUILD_TARGETS : bool = true ;
1267
1254
const ONLY_HOSTS : bool = true ;
1268
1255
1269
1256
fn should_run ( run : ShouldRun ) -> ShouldRun {
@@ -1274,7 +1261,7 @@ impl Step for Extended {
1274
1261
fn make_run ( run : RunConfig ) {
1275
1262
run. builder . ensure ( Extended {
1276
1263
stage : run. builder . top_stage ,
1277
- host : run. host ,
1264
+ host : run. builder . build . build ,
1278
1265
target : run. target ,
1279
1266
} ) ;
1280
1267
}
@@ -1692,9 +1679,7 @@ pub struct HashSign;
1692
1679
1693
1680
impl Step for HashSign {
1694
1681
type Output = ( ) ;
1695
- const ONLY_BUILD_TARGETS : bool = true ;
1696
1682
const ONLY_HOSTS : bool = true ;
1697
- const ONLY_BUILD : bool = true ;
1698
1683
1699
1684
fn should_run ( run : ShouldRun ) -> ShouldRun {
1700
1685
run. path ( "hash-and-sign" )
0 commit comments