@@ -140,7 +140,7 @@ pub struct RustcDocs {
140
140
impl Step for RustcDocs {
141
141
type Output = Option < GeneratedTarball > ;
142
142
const DEFAULT : bool = true ;
143
- const ONLY_HOSTS : bool = true ;
143
+ const IS_HOST : bool = true ;
144
144
145
145
fn should_run ( run : ShouldRun < ' _ > ) -> ShouldRun < ' _ > {
146
146
let builder = run. builder ;
@@ -402,7 +402,7 @@ pub struct Rustc {
402
402
impl Step for Rustc {
403
403
type Output = GeneratedTarball ;
404
404
const DEFAULT : bool = true ;
405
- const ONLY_HOSTS : bool = true ;
405
+ const IS_HOST : bool = true ;
406
406
407
407
fn should_run ( run : ShouldRun < ' _ > ) -> ShouldRun < ' _ > {
408
408
run. alias ( "rustc" )
@@ -782,7 +782,7 @@ pub struct RustcDev {
782
782
impl Step for RustcDev {
783
783
type Output = Option < GeneratedTarball > ;
784
784
const DEFAULT : bool = true ;
785
- const ONLY_HOSTS : bool = true ;
785
+ const IS_HOST : bool = true ;
786
786
787
787
fn should_run ( run : ShouldRun < ' _ > ) -> ShouldRun < ' _ > {
788
788
run. alias ( "rustc-dev" )
@@ -1012,7 +1012,7 @@ impl Step for Src {
1012
1012
/// The output path of the src installer tarball
1013
1013
type Output = GeneratedTarball ;
1014
1014
const DEFAULT : bool = true ;
1015
- const ONLY_HOSTS : bool = true ;
1015
+ const IS_HOST : bool = true ;
1016
1016
1017
1017
fn should_run ( run : ShouldRun < ' _ > ) -> ShouldRun < ' _ > {
1018
1018
run. alias ( "rust-src" )
@@ -1073,7 +1073,7 @@ impl Step for PlainSourceTarball {
1073
1073
/// Produces the location of the tarball generated
1074
1074
type Output = GeneratedTarball ;
1075
1075
const DEFAULT : bool = true ;
1076
- const ONLY_HOSTS : bool = true ;
1076
+ const IS_HOST : bool = true ;
1077
1077
1078
1078
fn should_run ( run : ShouldRun < ' _ > ) -> ShouldRun < ' _ > {
1079
1079
let builder = run. builder ;
@@ -1221,7 +1221,7 @@ pub struct Cargo {
1221
1221
impl Step for Cargo {
1222
1222
type Output = Option < GeneratedTarball > ;
1223
1223
const DEFAULT : bool = true ;
1224
- const ONLY_HOSTS : bool = true ;
1224
+ const IS_HOST : bool = true ;
1225
1225
1226
1226
fn should_run ( run : ShouldRun < ' _ > ) -> ShouldRun < ' _ > {
1227
1227
let default = should_build_extended_tool ( run. builder , "cargo" ) ;
@@ -1275,7 +1275,7 @@ pub struct RustAnalyzer {
1275
1275
impl Step for RustAnalyzer {
1276
1276
type Output = Option < GeneratedTarball > ;
1277
1277
const DEFAULT : bool = true ;
1278
- const ONLY_HOSTS : bool = true ;
1278
+ const IS_HOST : bool = true ;
1279
1279
1280
1280
fn should_run ( run : ShouldRun < ' _ > ) -> ShouldRun < ' _ > {
1281
1281
let default = should_build_extended_tool ( run. builder , "rust-analyzer" ) ;
@@ -1318,7 +1318,7 @@ pub struct Clippy {
1318
1318
impl Step for Clippy {
1319
1319
type Output = Option < GeneratedTarball > ;
1320
1320
const DEFAULT : bool = true ;
1321
- const ONLY_HOSTS : bool = true ;
1321
+ const IS_HOST : bool = true ;
1322
1322
1323
1323
fn should_run ( run : ShouldRun < ' _ > ) -> ShouldRun < ' _ > {
1324
1324
let default = should_build_extended_tool ( run. builder , "clippy" ) ;
@@ -1366,7 +1366,7 @@ pub struct Miri {
1366
1366
impl Step for Miri {
1367
1367
type Output = Option < GeneratedTarball > ;
1368
1368
const DEFAULT : bool = true ;
1369
- const ONLY_HOSTS : bool = true ;
1369
+ const IS_HOST : bool = true ;
1370
1370
1371
1371
fn should_run ( run : ShouldRun < ' _ > ) -> ShouldRun < ' _ > {
1372
1372
let default = should_build_extended_tool ( run. builder , "miri" ) ;
@@ -1415,7 +1415,7 @@ pub struct CraneliftCodegenBackend {
1415
1415
impl Step for CraneliftCodegenBackend {
1416
1416
type Output = Option < GeneratedTarball > ;
1417
1417
const DEFAULT : bool = true ;
1418
- const ONLY_HOSTS : bool = true ;
1418
+ const IS_HOST : bool = true ;
1419
1419
1420
1420
fn should_run ( run : ShouldRun < ' _ > ) -> ShouldRun < ' _ > {
1421
1421
// We only want to build the cranelift backend in `x dist` if the backend was enabled
@@ -1505,7 +1505,7 @@ pub struct Rustfmt {
1505
1505
impl Step for Rustfmt {
1506
1506
type Output = Option < GeneratedTarball > ;
1507
1507
const DEFAULT : bool = true ;
1508
- const ONLY_HOSTS : bool = true ;
1508
+ const IS_HOST : bool = true ;
1509
1509
1510
1510
fn should_run ( run : ShouldRun < ' _ > ) -> ShouldRun < ' _ > {
1511
1511
let default = should_build_extended_tool ( run. builder , "rustfmt" ) ;
@@ -1550,7 +1550,7 @@ pub struct Extended {
1550
1550
impl Step for Extended {
1551
1551
type Output = ( ) ;
1552
1552
const DEFAULT : bool = true ;
1553
- const ONLY_HOSTS : bool = true ;
1553
+ const IS_HOST : bool = true ;
1554
1554
1555
1555
fn should_run ( run : ShouldRun < ' _ > ) -> ShouldRun < ' _ > {
1556
1556
let builder = run. builder ;
@@ -2286,7 +2286,7 @@ pub struct LlvmTools {
2286
2286
2287
2287
impl Step for LlvmTools {
2288
2288
type Output = Option < GeneratedTarball > ;
2289
- const ONLY_HOSTS : bool = true ;
2289
+ const IS_HOST : bool = true ;
2290
2290
const DEFAULT : bool = true ;
2291
2291
2292
2292
fn should_run ( run : ShouldRun < ' _ > ) -> ShouldRun < ' _ > {
@@ -2391,7 +2391,7 @@ pub struct LlvmBitcodeLinker {
2391
2391
impl Step for LlvmBitcodeLinker {
2392
2392
type Output = Option < GeneratedTarball > ;
2393
2393
const DEFAULT : bool = true ;
2394
- const ONLY_HOSTS : bool = true ;
2394
+ const IS_HOST : bool = true ;
2395
2395
2396
2396
fn should_run ( run : ShouldRun < ' _ > ) -> ShouldRun < ' _ > {
2397
2397
let default = should_build_extended_tool ( run. builder , "llvm-bitcode-linker" ) ;
@@ -2443,7 +2443,7 @@ pub struct RustDev {
2443
2443
impl Step for RustDev {
2444
2444
type Output = Option < GeneratedTarball > ;
2445
2445
const DEFAULT : bool = true ;
2446
- const ONLY_HOSTS : bool = true ;
2446
+ const IS_HOST : bool = true ;
2447
2447
2448
2448
fn should_run ( run : ShouldRun < ' _ > ) -> ShouldRun < ' _ > {
2449
2449
run. alias ( "rust-dev" )
@@ -2546,7 +2546,7 @@ pub struct Bootstrap {
2546
2546
impl Step for Bootstrap {
2547
2547
type Output = Option < GeneratedTarball > ;
2548
2548
const DEFAULT : bool = false ;
2549
- const ONLY_HOSTS : bool = true ;
2549
+ const IS_HOST : bool = true ;
2550
2550
2551
2551
fn should_run ( run : ShouldRun < ' _ > ) -> ShouldRun < ' _ > {
2552
2552
run. alias ( "bootstrap" )
@@ -2586,7 +2586,7 @@ pub struct BuildManifest {
2586
2586
impl Step for BuildManifest {
2587
2587
type Output = GeneratedTarball ;
2588
2588
const DEFAULT : bool = false ;
2589
- const ONLY_HOSTS : bool = true ;
2589
+ const IS_HOST : bool = true ;
2590
2590
2591
2591
fn should_run ( run : ShouldRun < ' _ > ) -> ShouldRun < ' _ > {
2592
2592
run. alias ( "build-manifest" )
@@ -2618,7 +2618,7 @@ pub struct ReproducibleArtifacts {
2618
2618
impl Step for ReproducibleArtifacts {
2619
2619
type Output = Option < GeneratedTarball > ;
2620
2620
const DEFAULT : bool = true ;
2621
- const ONLY_HOSTS : bool = true ;
2621
+ const IS_HOST : bool = true ;
2622
2622
2623
2623
fn should_run ( run : ShouldRun < ' _ > ) -> ShouldRun < ' _ > {
2624
2624
run. alias ( "reproducible-artifacts" )
0 commit comments