@@ -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" ) ;
@@ -1416,7 +1416,7 @@ pub struct CraneliftCodegenBackend {
1416
1416
impl Step for CraneliftCodegenBackend {
1417
1417
type Output = Option < GeneratedTarball > ;
1418
1418
const DEFAULT : bool = true ;
1419
- const ONLY_HOSTS : bool = true ;
1419
+ const IS_HOST : bool = true ;
1420
1420
1421
1421
fn should_run ( run : ShouldRun < ' _ > ) -> ShouldRun < ' _ > {
1422
1422
// We only want to build the cranelift backend in `x dist` if the backend was enabled
@@ -1507,7 +1507,7 @@ pub struct Rustfmt {
1507
1507
impl Step for Rustfmt {
1508
1508
type Output = Option < GeneratedTarball > ;
1509
1509
const DEFAULT : bool = true ;
1510
- const ONLY_HOSTS : bool = true ;
1510
+ const IS_HOST : bool = true ;
1511
1511
1512
1512
fn should_run ( run : ShouldRun < ' _ > ) -> ShouldRun < ' _ > {
1513
1513
let default = should_build_extended_tool ( run. builder , "rustfmt" ) ;
@@ -1552,7 +1552,7 @@ pub struct Extended {
1552
1552
impl Step for Extended {
1553
1553
type Output = ( ) ;
1554
1554
const DEFAULT : bool = true ;
1555
- const ONLY_HOSTS : bool = true ;
1555
+ const IS_HOST : bool = true ;
1556
1556
1557
1557
fn should_run ( run : ShouldRun < ' _ > ) -> ShouldRun < ' _ > {
1558
1558
let builder = run. builder ;
@@ -2289,7 +2289,7 @@ pub struct LlvmTools {
2289
2289
2290
2290
impl Step for LlvmTools {
2291
2291
type Output = Option < GeneratedTarball > ;
2292
- const ONLY_HOSTS : bool = true ;
2292
+ const IS_HOST : bool = true ;
2293
2293
const DEFAULT : bool = true ;
2294
2294
2295
2295
fn should_run ( run : ShouldRun < ' _ > ) -> ShouldRun < ' _ > {
@@ -2394,7 +2394,7 @@ pub struct LlvmBitcodeLinker {
2394
2394
impl Step for LlvmBitcodeLinker {
2395
2395
type Output = Option < GeneratedTarball > ;
2396
2396
const DEFAULT : bool = true ;
2397
- const ONLY_HOSTS : bool = true ;
2397
+ const IS_HOST : bool = true ;
2398
2398
2399
2399
fn should_run ( run : ShouldRun < ' _ > ) -> ShouldRun < ' _ > {
2400
2400
let default = should_build_extended_tool ( run. builder , "llvm-bitcode-linker" ) ;
@@ -2446,7 +2446,7 @@ pub struct RustDev {
2446
2446
impl Step for RustDev {
2447
2447
type Output = Option < GeneratedTarball > ;
2448
2448
const DEFAULT : bool = true ;
2449
- const ONLY_HOSTS : bool = true ;
2449
+ const IS_HOST : bool = true ;
2450
2450
2451
2451
fn should_run ( run : ShouldRun < ' _ > ) -> ShouldRun < ' _ > {
2452
2452
run. alias ( "rust-dev" )
@@ -2549,7 +2549,7 @@ pub struct Bootstrap {
2549
2549
impl Step for Bootstrap {
2550
2550
type Output = Option < GeneratedTarball > ;
2551
2551
const DEFAULT : bool = false ;
2552
- const ONLY_HOSTS : bool = true ;
2552
+ const IS_HOST : bool = true ;
2553
2553
2554
2554
fn should_run ( run : ShouldRun < ' _ > ) -> ShouldRun < ' _ > {
2555
2555
run. alias ( "bootstrap" )
@@ -2589,7 +2589,7 @@ pub struct BuildManifest {
2589
2589
impl Step for BuildManifest {
2590
2590
type Output = GeneratedTarball ;
2591
2591
const DEFAULT : bool = false ;
2592
- const ONLY_HOSTS : bool = true ;
2592
+ const IS_HOST : bool = true ;
2593
2593
2594
2594
fn should_run ( run : ShouldRun < ' _ > ) -> ShouldRun < ' _ > {
2595
2595
run. alias ( "build-manifest" )
@@ -2621,7 +2621,7 @@ pub struct ReproducibleArtifacts {
2621
2621
impl Step for ReproducibleArtifacts {
2622
2622
type Output = Option < GeneratedTarball > ;
2623
2623
const DEFAULT : bool = true ;
2624
- const ONLY_HOSTS : bool = true ;
2624
+ const IS_HOST : bool = true ;
2625
2625
2626
2626
fn should_run ( run : ShouldRun < ' _ > ) -> ShouldRun < ' _ > {
2627
2627
run. alias ( "reproducible-artifacts" )
0 commit comments